You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# C Language is needed in order to verify Fortran compiler is C-interoperable
31
-
# HIP language is needed to properly find "hip" package
32
31
project(SELF VERSION 1.0.0
33
32
DESCRIPTION "Spectral Element Library in Fortran"
34
-
LANGUAGES Fortran C HIP)
33
+
LANGUAGES Fortran C)
35
34
36
35
option(SELF_ENABLE_MULTITHREADING "Option to enable CPU multithreading for `do concurrent` loop blocks."OFF)
37
36
option(SELF_ENABLE_TESTING "Option to enable build of tests. (Default On)"ON)
@@ -47,13 +46,6 @@ if(SELF_ENABLE_MULTITHREADING)
47
46
set(SELF_MULITHREADING_NTHREADS "4"CACHESTRING"Number of threads to use for `do concurrent` loop blocks. This option is only used with GNU compilers. Other compilers use OMP_NUM_THREADS environment variable at runtime.")
48
47
endif()
49
48
50
-
if(NOTDEFINED ROCM_PATH)
51
-
if(NOTDEFINED ENV{ROCM_PATH})
52
-
set(ROCM_PATH "/opt/rocm/"CACHEPATH"Path to which ROCm has been installed")
53
-
else()
54
-
set(ROCM_PATH $ENV{ROCM_PATH}CACHEPATH"Path to which ROCm has been installed")
55
-
endif()
56
-
endif()
57
49
58
50
59
51
# Fortran compiler requirements
@@ -202,25 +194,29 @@ if(SELF_ENABLE_GPU)
202
194
message( FATAL_ERROR "MPI installation is not GPU-aware" )
0 commit comments