Skip to content

Commit 7146be0

Browse files
committed
Add mi300 preset for AMD build
1 parent 9860a2d commit 7146be0

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

CMakeUserPresets.json

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"BUILD_SHARED_LIBS": "ON",
2424
"CMAKE_BUILD_TYPE": "Release",
2525
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
26-
"Kokkos_VERSION_DEFAULT": "4.5.01",
26+
"Kokkos_VERSION_DEFAULT": "4.7.01",
2727
"Heffte_VERSION_DEFAULT": "2.4.0",
28-
"IPPL_PLATFORMS": "OPENMP;CUDA",
28+
"IPPL_PLATFORMS": "SERIAL",
2929
"IPPL_ENABLE_FFT": "ON",
3030
"IPPL_ENABLE_ALPINE": "ON",
3131
"IPPL_ENABLE_COSMOLOGY": "ON",
@@ -42,7 +42,7 @@
4242
"default"
4343
],
4444
"cacheVariables": {
45-
"Kokkos_VERSION": "git.4.6.02",
45+
"Kokkos_VERSION": "git.4.7.01",
4646
"Heffte_VERSION": "git.v2.4.1"
4747
}
4848
},
@@ -74,17 +74,34 @@
7474
"displayName": "Alps-GH200-defaults",
7575
"description": "Enables building test in debug mode",
7676
"inherits": [
77-
"testing",
78-
"default"
77+
"release-testing"
7978
],
8079
"cacheVariables": {
8180
"MPIEXEC_PREFLAGS": "--gpus-per-task=1;/user-environment/wrapper-mpi.sh",
82-
"IPPL_PLATFORMS": "OPENMP;CUDA",
81+
"IPPL_PLATFORMS": "SERIAL;CUDA",
8382
"CMAKE_CUDA_ARCHITECTURES": "90",
8483
"MPIEXEC_EXECUTABLE": "/usr/bin/srun",
8584
"Kokkos_VERSION_DEFAULT": "4.7",
8685
"Heffte_VERSION_DEFAULT": "2.4.1"
8786
}
87+
},
88+
{
89+
"name": "alps-mi300",
90+
"displayName": "Alps-mi300-defaults",
91+
"description": "Enables building test in debug mode",
92+
"inherits": [
93+
"release-testing"
94+
],
95+
"cacheVariables": {
96+
"MPIEXEC_PREFLAGS": "--gpus-per-node=4;/user-environment/wrapper-mpi.sh",
97+
"IPPL_PLATFORMS": "HIP;SERIAL",
98+
"CMAKE_HIP_ARCHITECTURES": "gfx942",
99+
"AMDGPU_TARGETS": "gfx942",
100+
"GPU_TARGETS": "gfx942",
101+
"MPIEXEC_EXECUTABLE": "/usr/bin/srun",
102+
"Kokkos_VERSION_DEFAULT": "git.4.7.01",
103+
"Heffte_VERSION_DEFAULT": "git.v2.4.1"
104+
}
88105
}
89106
]
90107
}

0 commit comments

Comments
 (0)