DeviceArrayViewNETFormat Class |
Namespace: Zivid.NET
The DeviceArrayViewNETFormat type exposes the following members.
| Name | Description | |
|---|---|---|
| Backend | Get the GPU compute backend that owns the underlying device memory | |
| IsDisposed | ||
| IsEmpty | Check whether the view is empty | |
| IsValid | Check whether the view is valid (non-empty) | |
| Size | Get the number of elements in the view | |
| SizeInBytes | Get the size of the view in bytes |
| Name | Description | |
|---|---|---|
| CopyToHost | Enqueue a copy of the view data to a host buffer on the given stream/queue. Non-blocking. | |
| DevicePointer | Get the device pointer to the view data. No synchronization is performed. | |
| Dispose | Releases all resources used by the DeviceArrayViewNETFormat | |
| Shape | Get the shape of the view as a list of dimension extents | |
| Strides | Get the strides of the view in element count | |
| StridesInBytes | Get the strides of the view in bytes | |
| ToArray1D | Copy the view data to host as a 1D array, enqueued on the given stream/queue and synchronized before returning. | |
| ToArray2D | Copy the view data to host as a 2D array, enqueued on the given stream/queue and synchronized before returning. |