Click or drag to resize

DeviceArrayViewNETFormat Methods

The DeviceArrayViewNETFormat generic type exposes the following members.

Methods
  NameDescription
Public methodCopyToHost
Enqueue a copy of the view data to a host buffer on the given stream/queue. Non-blocking.
Public methodDevicePointer
Get the device pointer to the view data. No synchronization is performed.
Public methodDispose
Public methodShape
Get the shape of the view as a list of dimension extents
Public methodStrides
Get the strides of the view in element count
Public methodStridesInBytes
Get the strides of the view in bytes
Public methodToArray1D
Copy the view data to host as a 1D array, enqueued on the given stream/queue and synchronized before returning.
Public methodToArray2D
Copy the view data to host as a 2D array, enqueued on the given stream/queue and synchronized before returning.
Top
See Also