File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ $ uenv start prgenv-gnu/24.11:v2 --view=default #(1)
128128$ git clone https://github.com/bcumming/affinity.git
129129$ cd affinity; mkdir build; cd build;
130130$ CC=gcc CXX=g++ cmake .. # (2)
131- $ CC=gcc CXX=g++ cmake .. -DAFFINITY_GPU =cuda # (3)
132- $ CC=gcc CXX=g++ cmake .. -DAFFINITY_GPU =rocm # (4)
131+ $ CC=gcc CXX=g++ cmake .. -DAFFINITY_GPU_BACKEND =cuda # (3)
132+ $ CC=gcc CXX=g++ cmake .. -DAFFINITY_GPU_BACKEND =rocm # (4)
133133```
134134
1351351 . Affinity can be built using [ ` prgenv-gnu ` ] [ ref-uenv-prgenv-gnu ] on all clusters.
@@ -144,8 +144,8 @@ The build generates the following executables:
144144
145145* ` affinity.omp ` : tests thread affinity with no MPI (always built).
146146* ` affinity.mpi ` : tests thread affinity with MPI (built by default).
147- * ` affinity.cuda ` : tests thread and GPU affinity with MPI (built with ` -DAFFINITY_GPU =cuda ` ).
148- * ` affinity.rocm ` : tests thread and GPU affinity with MPI (built with ` -DAFFINITY_GPU =rocm ` ).
147+ * ` affinity.cuda ` : tests thread and GPU affinity with MPI (built with ` -DAFFINITY_GPU_BACKEND =cuda ` ).
148+ * ` affinity.rocm ` : tests thread and GPU affinity with MPI (built with ` -DAFFINITY_GPU_BACKEND =rocm ` ).
149149
150150??? example "Testing CPU affinity"
151151 Test CPU affinity (this can be used on both CPU and GPU enabled nodes).
You can’t perform that action at this time.
0 commit comments