From 9981b5408a9141b6c59c3ba19aeb728562546ad5 Mon Sep 17 00:00:00 2001 From: Stig Telfer Date: Fri, 19 Jun 2026 10:35:02 +0100 Subject: [PATCH] Trivial doc fix in README --- Pragma_Examples/OpenMP/C/1_saxpy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pragma_Examples/OpenMP/C/1_saxpy/README.md b/Pragma_Examples/OpenMP/C/1_saxpy/README.md index 92891b25..0c10d721 100644 --- a/Pragma_Examples/OpenMP/C/1_saxpy/README.md +++ b/Pragma_Examples/OpenMP/C/1_saxpy/README.md @@ -63,7 +63,7 @@ if you loaded the compiler you expect. ``` cd 0_saxpy_portyourself ``` -Try to port this example yourself. If you are stuck, use the step by step solution in folders 1-7 and read the instructions for those exersices below. Recommendation for your first port: use ```#pragma omp requires unified_shared memory``` and ```export HSA_XNACK=1``` (before running) so that you do not have to worry about map clauses. Steps 1-3 of the solution assume unified shared memory. Map clauses and investigating the behaviour of ```export HSA_XNACK=0``` or ```=1``` is added in the later steps. +Try to port this example yourself. If you are stuck, use the step by step solution in folders 1-7 and read the instructions for those exersices below. Recommendation for your first port: use ```#pragma omp requires unified_shared_memory``` and ```export HSA_XNACK=1``` (before running) so that you do not have to worry about map clauses. Steps 1-3 of the solution assume unified shared memory. Map clauses and investigating the behaviour of ```export HSA_XNACK=0``` or ```=1``` is added in the later steps. Compile the serial version. Note that ```-fopenmp``` is required as ```omp_get_wtime``` is used to time the loop execution.
**either**