DeviceArrayNETFormat Methods |
The DeviceArrayNETFormat generic type exposes the following members.
| Name | Description | |
|---|---|---|
| CopyToHost | Enqueue a copy of the device array data to a host buffer on the given stream/queue. | |
| DevicePointer | 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. | |
| Dispose | ||
| ShallowCopy | Return a shallow copy of the array sharing the underlying device memory | |
| Shape | Get the shape of the array as a list of dimension extents | |
| Strides | Get the strides of the array in element count | |
| StridesInBytes | Get the strides of the array in bytes | |
| ToArray1D | Copy the device array data to host as a 1D array [length], enqueued on the given
stream/queue and synchronized before returning. | |
| ToArray2D | Copy the device array data to host as a 2D array [height, width], enqueued on the given
stream/queue and synchronized before returning. |