-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
The Fortran tests for acc_deviceptr, acc_hostptr, acc_malloc, acc_free, acc_map_data, and acc_unmap_data do not match these routines' descriptions in the spec.
For example, for acc_deviceptr, v3.3 of the spec gives this as the format:
4110 Fortran:
4111 type(c_ptr) function acc_deviceptr(data_arg)
4112 type(*),dimension(*) :: data_arg
While the test seems to be expecting a Fortran pointer, not a c_ptr:
REAL(8), DIMENSION(LOOPCOUNT) :: a, b, c !Data
REAL(8), POINTER, DIMENSION(:) :: a_ptr, b_ptr, d_ptr
[...]
a_ptr = acc_deviceptr(a)
b_ptr = acc_deviceptr(b)
d_ptr = acc_deviceptr(c)
These tests all likely need to be updated, though it's not always clear (particularly for acc_deviceptr) how to update them while preserving the semantics of the test.
Metadata
Metadata
Assignees
Labels
No labels