24
edits
Changes
→Instructions
</pre>
After you will be able to compiler compile an OpenMP application with offloading with and offload it to a target region by running the clang Clang compiler and with some addition additional flags for to ensure offloading.
<pre>
$ clang -fopenmp -fopenmp-targets=nvptx64 -O2 foo.c