<div dir="ltr">Hi,<div>Executed my application with debugging information:</div><div><br></div><div>Libomptarget --> Use default device id 0<br>Libomptarget --> Checking whether device 0 is ready.<br>Libomptarget --> Is the device 0 (local ID 0) initialized? 1<br>Libomptarget --> Device 0 is ready to use.<br>Libomptarget --> Entry  0: Base=0x00003fffcf5263d8, Begin=0x00003fffcf5263e0, Size=8, Type=0x21<br>Libomptarget --> Entry  1: Base=0x00003fffcf5263e0, Begin=0x0000000000000000, Size=262720080, Type=0x11<br>Libomptarget --> Looking up mapping(HstPtrBegin=0x00003fffcf5263e0, Size=8)...<br>Libomptarget --> Mapping exists with HstPtrBegin=0x00003fffcf5263e0, TgtPtrBegin=0x0000110048400008, Size=8, updated RefCount=4<br>Libomptarget --> There are 8 bytes allocated at target address 0x0000110048400008 - is not new<br>Libomptarget --> Has a pointer entry:<br>Libomptarget --> Looking up mapping(HstPtrBegin=0x00003fffcf5263e0, Size=8)...<br>Libomptarget --> Mapping exists with HstPtrBegin=0x00003fffcf5263e0, TgtPtrBegin=0x0000110048400008, Size=8, updated RefCount=5<br>Libomptarget --> There are 8 bytes allocated at target address 0x0000110048400008 - is not new<br>Libomptarget --> Looking up mapping(HstPtrBegin=0x0000000000000000, Size=262720080)...<br>Libomptarget --> Creating new map entry: HstBase=0x0000000000000000, HstBegin=0x0000000000000000, HstEnd=0x000000000fa8ca50, TgtBegin=0x0000110060000000<br>Libomptarget --> There are 262720080 bytes allocated at target address 0x0000110060000000 - is new<br>Libomptarget --> Moving 262720080 bytes (hst:0x0000000000000000) -> (tgt:0x0000110060000000)<br>Target CUDA RTL --> Error when copying data from host to device. Pointers: host = 0x0000000000000000, device = 0x0000110060000000, size = 262720080<br>Target CUDA RTL --> CUDA error is: invalid argument<br>Libomptarget --> Copying data to device failed.<br>Libomptarget fatal error 1: failure of target construct while offloading is mandatory<br></div><div>[...]</div><div><br></div><div>I think I am not seeing a major warning regarding use of map clause, so</div><div>I am not sure what's wrong with my programming.</div><div><br></div></div>