Click or drag to resize

StreamOrQueue Structure

A user CUDA stream or OpenCL command queue, selected by which member is populated.

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 2.18.0.0
Syntax
public struct StreamOrQueue

The StreamOrQueue type exposes the following members.

Operators
Fields
  NameDescription
Public fieldCommandQueue
The OpenCL command queue wrapper (used on OpenCL builds)
Public fieldStream
The CUDA stream wrapper (used on CUDA builds)
Top
Remarks
Mirrors the native Zivid::StreamOrQueue. A CUDAStreamPtr or OpenCLCommandQueuePtr converts implicitly. On a CUDA build the Stream member is used (a zero handle means the CUDA default stream) and CommandQueue must be zero; on an OpenCL build the CommandQueue member is used (must be non-zero) and Stream must be zero.
See Also