Cloo 0.9.1
|
Represents an OpenCL resource. More...
Public Member Functions | |
void | Dispose () |
Deletes the ComputeResource and frees its accompanying OpenCL resources. | |
Protected Member Functions | |
abstract void | Dispose (bool manual) |
Releases the associated OpenCL object. |
Represents an OpenCL resource.
An OpenCL resource is an OpenCL object that can be created and deleted by the application.
void Cloo.ComputeResource.Dispose | ( | ) |
Deletes the ComputeResource and frees its accompanying OpenCL resources.
abstract void Cloo.ComputeResource.Dispose | ( | bool | manual | ) | [protected, pure virtual] |
Releases the associated OpenCL object.
manual | Specifies the operation mode of this method. |
manual must be true
if this method is invoked directly by the application.
Implemented in Cloo.ComputeCommandQueue, Cloo.ComputeContext, Cloo.ComputeEvent, Cloo.ComputeEventBase, Cloo.ComputeKernel, Cloo.ComputeMemory, Cloo.ComputeProgram, and Cloo.ComputeSampler.