libgomp: acc_create
1
1 5.19 'acc_create' - Allocate device memory and map it to host memory.
1 =====================================================================
1
1 _Description_
1 This function allocates device memory and maps it to host memory
1 specified by the host address A with a length of LEN bytes. In
1 C/C++, the function returns the device address of the allocated
1 device memory.
1
1 In Fortran, two (2) forms are supported. In the first form, A
1 specifies a contiguous array section. The second form A specifies
1 a variable or array element and LEN specifies the length in bytes.
1
1 _C/C++_:
1 _Prototype_: 'void *acc_create(h_void *a, size_t len);'
1
1 _Fortran_:
1 _Interface_: 'subroutine acc_create(a)'
1 'type, dimension(:[,:]...) :: a'
1 _Interface_: 'subroutine acc_create(a, len)'
1 'type, dimension(:[,:]...) :: a'
1 'integer len'
1
1 _Reference_:
1 OpenACC specification v2.0 (https://www.openacc.org), section
1 3.2.19.
1