File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ Changes of stencil update code for OpenMP and SYCL are shown in the tabs below:
299299
300300 .. code-block :: console
301301
302- # salloc -A project_465001310 -p small-g -N 1 -- gpus-per-node=1 - -t 1:00:00
302+ # salloc -A project_465001310 -p small-g -N 1 -c 8 -n 1 -- gpus-per-node=1 -t 1:00:00
303303
304304 module load LUMI/24.03
305305 module load partition/G
@@ -321,6 +321,21 @@ Changes of stencil update code for OpenMP and SYCL are shown in the tabs below:
321321 $ srun stencil_naive
322322 $ srun stencil
323323
324+ If everything works well, the output should look similar to this:
325+
326+ .. code-block :: console
327+
328+ $ srun stencil_naive
329+ Average temperature, start: 59.763305
330+ Average temperature at end: 59.281239
331+ Control temperature at end: 59.281239
332+ Iterations took 2.683 seconds.
333+ $ srun stencil
334+ Average temperature, start: 59.763305
335+ Average temperature at end: 59.281239
336+ Control temperature at end: 59.281239
337+ Iterations took 0.317 seconds.
338+
324339
325340 .. challenge :: Exercise: naive GPU ports
326341
You can’t perform that action at this time.
0 commit comments