Open main menu

CDOT Wiki β

Changes

GPU621/GPU Targeters

8 bytes removed, 19:24, 4 December 2020
Instructions for AMD
</pre>
<pre>
clang file.c -O2 -fPIC -shared -rdynamic -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=gfx900 -o outName
 
</pre>
$ /opt/rocm/bin/rocminfo
</pre>
 
If further problems with compiling and running, try starting with examples:
https://github.com/ROCm-Developer-Tools/aomp/tree/master/examples/openmp
== Results and Graphs (Nathan/Elena) ==
51
edits