Bullet Collision Detection & Physics Library
Public Member Functions | Protected Attributes | List of all members
CLFunctions Class Reference

#include <btSoftBodySolver_OpenCL.h>

Public Member Functions

 CLFunctions (cl_command_queue cqCommandQue, cl_context cxMainContext)
 
int getKernelCompilationFailures () const
 
virtual cl_kernel compileCLKernelFromString (const char *kernelSource, const char *kernelName, const char *additionalMacros, const char *srcFileNameForCaching)
 Compile a compute shader kernel from a string and return the appropriate cl_kernel object. More...
 
void clearKernelCompilationFailures ()
 

Protected Attributes

cl_command_queue m_cqCommandQue
 
cl_context m_cxMainContext
 
int m_kernelCompilationFailures
 

Detailed Description

Definition at line 29 of file btSoftBodySolver_OpenCL.h.

Constructor & Destructor Documentation

CLFunctions::CLFunctions ( cl_command_queue  cqCommandQue,
cl_context  cxMainContext 
)
inline

Definition at line 39 of file btSoftBodySolver_OpenCL.h.

Member Function Documentation

void CLFunctions::clearKernelCompilationFailures ( )
inline

Definition at line 56 of file btSoftBodySolver_OpenCL.h.

cl_kernel CLFunctions::compileCLKernelFromString ( const char *  kernelSource,
const char *  kernelName,
const char *  additionalMacros,
const char *  srcFileNameForCaching 
)
virtual

Compile a compute shader kernel from a string and return the appropriate cl_kernel object.

Definition at line 1538 of file btSoftBodySolver_OpenCL.cpp.

int CLFunctions::getKernelCompilationFailures ( ) const
inline

Definition at line 46 of file btSoftBodySolver_OpenCL.h.

Member Data Documentation

cl_command_queue CLFunctions::m_cqCommandQue
protected

Definition at line 32 of file btSoftBodySolver_OpenCL.h.

cl_context CLFunctions::m_cxMainContext
protected

Definition at line 33 of file btSoftBodySolver_OpenCL.h.

int CLFunctions::m_kernelCompilationFailures
protected

Definition at line 35 of file btSoftBodySolver_OpenCL.h.


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