Cloo 0.9.1
|
Represents an OpenCL memory object. More...
Protected Member Functions | |
ComputeMemory (ComputeContext context, ComputeMemoryFlags flags) | |
override void | Dispose (bool manual) |
Releases the associated OpenCL object. | |
Properties | |
CLMemoryHandle | Handle [get, set] |
The handle of the ComputeMemory. | |
ComputeContext | Context [get] |
Gets the ComputeContext of the ComputeMemory. | |
ComputeMemoryFlags | Flags [get] |
Gets the ComputeMemoryFlags of the ComputeMemory. | |
long | Size [get, set] |
Gets or sets (protected) the size in bytes of the ComputeMemory. |
Represents an OpenCL memory object.
A memory object is a handle to a region of global memory.
Cloo.ComputeMemory.ComputeMemory | ( | ComputeContext | context, |
ComputeMemoryFlags | flags | ||
) | [protected] |
context | |
flags |
override void Cloo.ComputeMemory.Dispose | ( | bool | manual | ) | [protected, 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.
Implements Cloo.ComputeResource.
ComputeContext Cloo.ComputeMemory.Context [get] |
Gets the ComputeContext of the ComputeMemory.
The ComputeContext of the ComputeMemory.
ComputeMemoryFlags Cloo.ComputeMemory.Flags [get] |
Gets the ComputeMemoryFlags of the ComputeMemory.
The ComputeMemoryFlags of the ComputeMemory.
CLMemoryHandle Cloo.ComputeMemory.Handle [get, set] |
The handle of the ComputeMemory.
long Cloo.ComputeMemory.Size [get, set] |
Gets or sets (protected) the size in bytes of the ComputeMemory.
The size in bytes of the ComputeMemory.