Device memory management, access

Modules

 scalar
 Returns the first element of the array.
 
 device
 Returns a device pointer to the data.
 
 host
 Returns a host pointer to the data.
 
 alloc
 Allocates and returns a pointer to device memory.
 
 pinned
 Allocates and returns a pointer to pinned host memory.
 
 free
 Free data allocated by alloc() or returned from host()
 

Detailed Description