We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2670b8 commit 7316ef0Copy full SHA for 7316ef0
Publications/GPU-Opt-Guide/OpenMP/24_device_ptr_addr_clauses/f_use_device_addr_01.f90
@@ -16,7 +16,7 @@ program target_use_device_addr
16
17
! Allocate host data
18
allocate(array_h(N1), array_d(1))
19
-
+
20
!$omp target data map (from:array_h(1:N1)) map(alloc:array_d(1:N1))
21
!$omp target data use_device_addr(array_d)
22
!$omp target has_device_addr(array_d)
0 commit comments