|
Peano
|
For the AMD toolchain we need to load either ROCm or AOMP. Both modules should have AMD's version of Clang. With the AMD toolchain we use AMD's modified Clang. We again need to point CXX and CC to the AMDClang compiler.
For the configuration with OpenMP GPU offloading, we again specify --with-gpu=omp to make Peano GPU aware. Furthermore, we need to add AMD specific offloading instructions:
where XXX has to be replaced by the actual compute capability of the device.
Note: We define the preprocessor flag AMDGPU to allow Peano for compiling patches that are needed only for the AMD toolchain.