[Issue]: [flang][OpenMP] need has_device_addr support in flang-new
Opened this issue · 0 comments
ye-luo commented
Problem Description
I'm testing rocm-afar-6356-drop-4.1.0
Currently hitting error
error: loc("/home/yeluo/opt/openmp-target/tests/fortran_allocator/dualspace_array_device_isptr.f90":9:7): not yet implemented: Unhandled clause has_device_addr in omp.target operation
error: loc("/home/yeluo/opt/openmp-target/tests/fortran_allocator/dualspace_array_device_isptr.f90":9:7): LLVM Translation failed for operation: omp.target
Upstream LLVM flang tracker says
has_device_addr clause for target construct. Frontend and Lowering support is present. Translation support is probably missing.
This feature is not picked up yet and needs to be prioritized.
Operating System
ubuntu 24.04
CPU
Any x86_64
GPU
Any AMD GPU
ROCm Version
ROCm 6.2.3
ROCm Component
flang
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response