DeviceArrayNETFormat Class |
Namespace: Zivid.NET
The DeviceArrayNETFormat type exposes the following members.
| Name | Description | |
|---|---|---|
| Backend | Get the GPU compute backend that owns the underlying device memory | |
| IsDisposed | ||
| IsEmpty | Check whether the array is empty | |
| IsValid | Check whether the array is valid (non-empty) | |
| Size | Get the number of elements in the array | |
| SizeInBytes | Get the size of the array in bytes |
| 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 | Releases all resources used by the DeviceArrayNETFormat | |
| 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. |