Changes

Jump to: navigation, search

GPU621/GPU Targeters

95 bytes added, 14:01, 18 December 2020
Instructions for AMD
3. Yunseon Lee
== Progress ==  == Difference of CPU and GPU for parallel applications (Yunseon) ==
How to set up compiler and target offloading for Linux on AMD GPU:
Note: user should be member of 'video' group; if this doesn't help, may add user to 'render' group
[AOMP https://github.com/ROCm-Developer-Tools/aomp] is an open source Clang/LLVM based compiler with added support for the OpenMP® API on Radeon™ GPUs.
export LIBOMPTARGET_KERNEL_TRACE=1
clang -O2-fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=gfx803 helloWorld.c -0 helloWorld
./helloWorld
</pre>
 
</pre>
== Results If further problems with compiling and Graphs (Nathanrunning, try starting with examples:https:/Elena) ==  == Conclusions (Nathan/Elenagithub.com/ROCm-Developer-Tools/aomp/tree/master/examples/Yunseon) ==openmp
== Sources ==
51
edits

Navigation menu