Hello,
I am trying to offload a large codebase to AMD GPUs with OpenMP. The code as is, is based on array of structures logic. I have read that !$omp declare mapper can be used to perform a deep copy. However, I took an example toy code and the compilers I tried complain that it is an “Unclassifiable OpenMP directive”. Does anyone know if there is actual support for Fortran for this feature?
I use gfortran-13 (gcc-version-13.1)
and to compile I use this command:
gfortran -fopenmp -foffload=amdgcn-amdhsa=-march=gfx90a -foffload=-lgfortran -Ofast gpu_dummy.f90 -o mygputest
I have also tried amdflang from (rocm-6.2).
Thank you,
Gerasimos