We use the
use_device to call CUDA kernels from the OpenMP data region. It works with old compiler nvhpc v20.x but not v21.5. We got error likes
FATAL ERROR: data in use_device clause was not found on device 1: host:0x3d5ae40
The arguments in use_device are already on devices. Can any other issue cause the problem ?