ILGPU  0.9.0
ILGPU.Runtime.OpenCL.CLStream Class Reference

Represents an OpenCL stream. More...

Inheritance diagram for ILGPU.Runtime.OpenCL.CLStream:
ILGPU.Runtime.AcceleratorStream ILGPU.Runtime.AcceleratorObject ILGPU.Util.DisposeBase ILGPU.Runtime.IAcceleratorObject

Public Member Functions

override void Synchronize ()
 
- Public Member Functions inherited from ILGPU.Runtime.AcceleratorStream
Task SynchronizeAsync ()
 Synchronizes all queued operations asynchronously. More...
 
ScopedAcceleratorBinding BindScoped ()
 Makes the associated accelerator the current one for this thread and returns a ScopedAcceleratorBinding object that allows to easily recover the old binding. More...
 
- Public Member Functions inherited from ILGPU.Util.DisposeBase
void Dispose ()
 Triggers the 'dispose' functionality of this object. More...
 

Public Attributes

IntPtr CommandQueue => queuePtr
 Returns the native OpenCL command queue. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from ILGPU.Runtime.AcceleratorStream
 AcceleratorStream (Accelerator accelerator)
 Constructs a new accelerator stream. More...
 
- Protected Member Functions inherited from ILGPU.Runtime.AcceleratorObject
 AcceleratorObject ()
 Constructs an accelerator object that lives on the CPU. More...
 
 AcceleratorObject (Accelerator accelerator)
 Constructs an accelerator object. More...
 

Additional Inherited Members

- Properties inherited from ILGPU.Runtime.AcceleratorObject
Accelerator Accelerator [get]
 Returns the associated accelerator. More...
 
AcceleratorType AcceleratorType [get]
 Returns the accelerator type of this object. More...
 
- Properties inherited from ILGPU.Runtime.IAcceleratorObject
Accelerator Accelerator [get]
 Returns the associated accelerator. More...
 
AcceleratorType AcceleratorType [get]
 Returns the accelerator type of this object. More...
 

Detailed Description

Represents an OpenCL stream.

Member Function Documentation

override void ILGPU.Runtime.OpenCL.CLStream.Dispose ( bool  disposing)
protectedvirtual

Reimplemented from ILGPU.Util.DisposeBase.

override void ILGPU.Runtime.OpenCL.CLStream.Synchronize ( )
virtual

Member Data Documentation

IntPtr ILGPU.Runtime.OpenCL.CLStream.CommandQueue => queuePtr

Returns the native OpenCL command queue.


The documentation for this class was generated from the following file: