Click or drag to resize

DeviceArrayNETFormat Methods

The DeviceArrayNETFormat generic type exposes the following members.

Methods
  NameDescription
Public methodCopyToHost
Enqueue a copy of the device array data to a host buffer on the given stream/queue.
Public methodDevicePointer
Get the device pointer to the array data. No synchronization is performed; the array was already synchronized against the acquisition stream/queue when it was produced.
Public methodDispose
Public methodShallowCopy
Return a shallow copy of the array sharing the underlying device memory
Public methodShape
Get the shape of the array as a list of dimension extents
Public methodStrides
Get the strides of the array in element count
Public methodStridesInBytes
Get the strides of the array in bytes
Public methodToArray1D
Copy the device array data to host as a 1D array [length], enqueued on the given stream/queue and synchronized before returning.
Public methodToArray2D
Copy the device array data to host as a 2D array [height, width], enqueued on the given stream/queue and synchronized before returning.
Top
See Also