OpenCL Refine Context. More...
#include <clComputeContext.h>
Public Member Functions | |
virtual | ~CLComputeContext () |
Destructor. More... | |
bool | HasVertexStencilTables () const |
Returns true if the Context has a 'vertex' interpolation stencil table. More... | |
bool | HasVaryingStencilTables () const |
Returns true if the Context has a 'varying' interpolation stencil table. More... | |
int | GetNumControlVertices () const |
Returns the number of control vertices. More... | |
cl_mem | GetVertexStencilTablesSizes () const |
Returns the Cuda buffer containing vertex-stencil stencil sizes. More... | |
cl_mem | GetVertexStencilTablesOffsets () const |
Returns the Cuda buffer containing vertex-stencil stencil offsets. More... | |
cl_mem | GetVertexStencilTablesIndices () const |
Returns the Cuda buffer containing vertex-stencil stencil indices. More... | |
cl_mem | GetVertexStencilTablesWeights () const |
Returns the Cuda buffer containing vertex-stencil stencil weights. More... | |
cl_mem | GetVaryingStencilTablesSizes () const |
Returns the Cuda buffer containing Varying-stencil stencil sizes. More... | |
cl_mem | GetVaryingStencilTablesOffsets () const |
Returns the Cuda buffer containing Varying-stencil stencil offsets. More... | |
cl_mem | GetVaryingStencilTablesIndices () const |
Returns the Cuda buffer containing Varying-stencil stencil indices. More... | |
cl_mem | GetVaryingStencilTablesWeights () const |
Returns the Cuda buffer containing Varying-stencil stencil weights. More... | |
Static Public Member Functions | |
static CLComputeContext * | Create (cl_context clContext, Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables=0) |
Protected Member Functions | |
CLComputeContext (Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables, cl_context clContext) | |
Protected Member Functions inherited from NonCopyable< CLComputeContext > | |
NonCopyable () | |
~NonCopyable () | |
OpenCL Refine Context.
The OpenCL-Compute implementation of the Refine module contextual functionality.
Contexts interface the serialized topological data pertaining to the geometric primitives with the capabilities of the selected discrete compute device.
Definition at line 51 of file clComputeContext.h.
|
virtual |
Destructor.
|
explicitprotected |
|
static |
Creates an CLComputeContext instance
clContext | An active OpenCL compute context |
vertexStencilTables | The Far::StencilTables used for vertex interpolation |
varyingStencilTables | The Far::StencilTables used for varying interpolation |
|
inline |
Returns the number of control vertices.
Definition at line 79 of file clComputeContext.h.
cl_mem GetVaryingStencilTablesIndices | ( | ) | const |
Returns the Cuda buffer containing Varying-stencil stencil indices.
cl_mem GetVaryingStencilTablesOffsets | ( | ) | const |
Returns the Cuda buffer containing Varying-stencil stencil offsets.
cl_mem GetVaryingStencilTablesSizes | ( | ) | const |
Returns the Cuda buffer containing Varying-stencil stencil sizes.
cl_mem GetVaryingStencilTablesWeights | ( | ) | const |
Returns the Cuda buffer containing Varying-stencil stencil weights.
cl_mem GetVertexStencilTablesIndices | ( | ) | const |
Returns the Cuda buffer containing vertex-stencil stencil indices.
cl_mem GetVertexStencilTablesOffsets | ( | ) | const |
Returns the Cuda buffer containing vertex-stencil stencil offsets.
cl_mem GetVertexStencilTablesSizes | ( | ) | const |
Returns the Cuda buffer containing vertex-stencil stencil sizes.
cl_mem GetVertexStencilTablesWeights | ( | ) | const |
Returns the Cuda buffer containing vertex-stencil stencil weights.
bool HasVaryingStencilTables | ( | ) | const |
Returns true if the Context has a 'varying' interpolation stencil table.
bool HasVertexStencilTables | ( | ) | const |
Returns true if the Context has a 'vertex' interpolation stencil table.