All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CudaComputeContext Class Reference

CUDA Refine Context. More...

#include <cudaComputeContext.h>

Inheritance diagram for CudaComputeContext:
NonCopyable< CudaComputeContext >

Public Member Functions

virtual ~CudaComputeContext ()
 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...
 
void * GetVertexStencilTablesSizes () const
 Returns the Cuda buffer containing vertex-stencil stencil sizes. More...
 
void * GetVertexStencilTablesOffsets () const
 Returns the Cuda buffer containing vertex-stencil stencil offsets. More...
 
void * GetVertexStencilTablesIndices () const
 Returns the Cuda buffer containing vertex-stencil stencil indices. More...
 
void * GetVertexStencilTablesWeights () const
 Returns the Cuda buffer containing vertex-stencil stencil weights. More...
 
void * GetVaryingStencilTablesSizes () const
 Returns the Cuda buffer containing Varying-stencil stencil sizes. More...
 
void * GetVaryingStencilTablesOffsets () const
 Returns the Cuda buffer containing Varying-stencil stencil offsets. More...
 
void * GetVaryingStencilTablesIndices () const
 Returns the Cuda buffer containing Varying-stencil stencil indices. More...
 
void * GetVaryingStencilTablesWeights () const
 Returns the Cuda buffer containing Varying-stencil stencil weights. More...
 

Static Public Member Functions

static CudaComputeContextCreate (Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables=0)
 

Protected Member Functions

 CudaComputeContext (Far::StencilTables const *vertexStencilTables, Far::StencilTables const *varyingStencilTables)
 
- Protected Member Functions inherited from NonCopyable< CudaComputeContext >
 NonCopyable ()
 
 ~NonCopyable ()
 

Detailed Description

CUDA Refine Context.

The CUDA 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 cudaComputeContext.h.

Constructor & Destructor Documentation

virtual ~CudaComputeContext ( )
virtual

Destructor.

CudaComputeContext ( Far::StencilTables const *  vertexStencilTables,
Far::StencilTables const *  varyingStencilTables 
)
explicitprotected

Member Function Documentation

static CudaComputeContext* Create ( Far::StencilTables const *  vertexStencilTables,
Far::StencilTables const *  varyingStencilTables = 0 
)
static

Creates an CudaComputeContext instance

Parameters
vertexStencilTablesThe Far::StencilTables used for vertex interpolation
varyingStencilTablesThe Far::StencilTables used for varying interpolation
int GetNumControlVertices ( ) const
inline

Returns the number of control vertices.

Definition at line 76 of file cudaComputeContext.h.

void* GetVaryingStencilTablesIndices ( ) const

Returns the Cuda buffer containing Varying-stencil stencil indices.

void* GetVaryingStencilTablesOffsets ( ) const

Returns the Cuda buffer containing Varying-stencil stencil offsets.

void* GetVaryingStencilTablesSizes ( ) const

Returns the Cuda buffer containing Varying-stencil stencil sizes.

void* GetVaryingStencilTablesWeights ( ) const

Returns the Cuda buffer containing Varying-stencil stencil weights.

void* GetVertexStencilTablesIndices ( ) const

Returns the Cuda buffer containing vertex-stencil stencil indices.

void* GetVertexStencilTablesOffsets ( ) const

Returns the Cuda buffer containing vertex-stencil stencil offsets.

void* GetVertexStencilTablesSizes ( ) const

Returns the Cuda buffer containing vertex-stencil stencil sizes.

void* 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.


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