cc_staff
782
edits
No edit summary |
(Removed incomplete but still duplicated information) |
||
Line 4: | Line 4: | ||
= OpenACC compiler instructions = | = OpenACC compiler instructions = | ||
Similar to [[OpenMP]], OpenACC can convert a for-loop into parallel code that would run on an accelerator. This can be achieved with compiler instructions <code>#pragma acc ...</code> before a for-loop. | Similar to [[OpenMP]], OpenACC can convert a for-loop into parallel code that would run on an accelerator. This can be achieved with compiler instructions <code>#pragma acc ...</code> before a for-loop. All <code>pragma</code> directives are described in the [https://www.openacc.org/specification OpenACC specification]. | ||
= Code examples = | = Code examples = |