Skip to content

Commit 7316ef0

Browse files
committed
Fix crashes in f_use_device_addr_01, dgemm_pad_f_01, dgemm_dispatch_f
1 parent e2670b8 commit 7316ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Publications/GPU-Opt-Guide/OpenMP/24_device_ptr_addr_clauses/f_use_device_addr_01.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ program target_use_device_addr
1616

1717
! Allocate host data
1818
allocate(array_h(N1), array_d(1))
19-
19+
2020
!$omp target data map (from:array_h(1:N1)) map(alloc:array_d(1:N1))
2121
!$omp target data use_device_addr(array_d)
2222
!$omp target has_device_addr(array_d)

0 commit comments

Comments
 (0)