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
* Draft buildkite pipeline
We still need base images posted to higherordermethods registry
* Run `srun` directly, assuming no pre-command
* Fix missing "\"
* Change gpu type to mi210
* Fix tag for mi210 base image
* Adjust to use new pre-command hook for wrapping commands in srun
* Make build env and step more verbose
* Move slurm vars to env
* Enable spack environment, specify fortran compiler in cmake stage
* Add workspace env variable
This is needed to load the mesh files in tests
* Update pipeline assuming buildkite is running as batch job in container
* Report commands to stdout
* Hard-code cmake build options in command
* Clean up cmake and add codecov upload stage to pipeline
* Add partyparrot emoji in pipeline
* Add call to rocminfo
* Add container remap root flag
* Fix buildkite pipeline typo
* set container remap root to true to assert boolean flag for sbatch
* Remove container-remap-root
* Fix secrets syntax for codecov
Copy file name to clipboardExpand all lines: CMakeLists.txt
+82-50Lines changed: 82 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,12 @@ option(SELF_ENABLE_MULTITHREADING "Option to enable CPU multithreading for `do c
36
36
option(SELF_ENABLE_TESTING"Option to enable build of tests. (Default On)"ON)
37
37
option(SELF_ENABLE_EXAMPLES"Option to enable build of examples. (Default On)"ON)
38
38
option(SELF_ENABLE_GPU"Option to enable GPU backend. Requires either CUDA or HIP. (Default Off)"OFF)
39
-
option(SELF_ENABLE_APU"Option to enable APU backend. Requires either CUDA or HIP. (Default Off)"OFF)
39
+
option(SELF_ENABLE_APU"Option to enable APU backend. (Default Off)"OFF)
40
+
41
+
set(SELF_GPU_BACKEND "AUTO"CACHESTRING"GPU backend to use when SELF_ENABLE_GPU is ON: AUTO, CUDA, or HIP. AUTO prefers HIP when available. (Default AUTO)")
42
+
set_property(CACHE SELF_GPU_BACKEND PROPERTY STRINGS AUTO CUDA HIP)
43
+
44
+
option(SELF_REQUIRE_GPU_AWARE_MPI"Require GPU-aware MPI when building with GPU support. Set OFF to downgrade the check to a warning. (Default ON)"ON)
40
45
option(SELF_ENABLE_DOUBLE_PRECISION"Option to enable double precision for floating point arithmetic. (Default On)"ON)
41
46
42
47
set(SELF_MPIEXEC_NUMPROCS "2"CACHESTRING"The number of MPI ranks to use to launch MPI tests. Only used when launching test programs via ctest.")
0 commit comments