File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ if [[ "$enable_cuda" == "ON" ]]; then
71
71
CUDA_ARCH_VTKM=" ${CUDA_ARCH_VTKM:= ampere} "
72
72
fi
73
73
74
+ # NOTE: this script only builds kokkos when enable_hip=ON or enable_cycl=ON
74
75
if [[ " $enable_hip " == " ON" ]]; then
75
76
echo " *** configuring with HIP support"
76
77
@@ -81,15 +82,9 @@ if [[ "$enable_hip" == "ON" ]]; then
81
82
ROCM_ARCH=" ${ROCM_ARCH:= gfx90a} "
82
83
ROCM_PATH=" ${ROCM_PATH:=/ opt/ rocm/ } "
83
84
84
- # NOTE: this script only builds kokkos when enable_hip=ON
85
85
build_kokkos=" ${build_kokkos:= true} "
86
86
elif [[ " $enable_sycl " == " ON" ]]; then
87
87
echo " *** configuring with SYCL support"
88
-
89
- CC=` which icx`
90
- CXX=` which icpx`
91
- FTN=` which ifx`
92
-
93
88
build_kokkos=" ${build_kokkos:= true} "
94
89
else
95
90
build_kokkos=" ${build_kokkos:= false} "
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ module use /soft/modulefiles
18
18
module load spack-pe-gcc cmake
19
19
module load oneapi/eng-compiler/2023.12.15.002
20
20
21
- env enable_sycl=ON enable_mpi=ON enable_fortran=ON raja_enable_vectorization=OFF enable_tests=ON enable_verbose=ON ./build_ascent_sycl.sh
21
+ env CC= ` which icx ` CXX= ` which icpx ` FTN= ` which ifx ` enable_sycl=ON enable_mpi=ON enable_fortran=ON raja_enable_vectorization=OFF enable_tests=ON enable_verbose=ON ./build_ascent_sycl.sh
You can’t perform that action at this time.
0 commit comments