#include <btSoftBodySolverBuffer_OpenCL.h>
Public Member Functions | |
bool | createBuffer (cl_mem *preexistingBuffer=0) |
btOpenCLBuffer (cl_command_queue commandQue, cl_context ctx, btAlignedObjectArray< ElementType > *CPUBuffer, bool readOnly) | |
~btOpenCLBuffer () | |
bool | moveToGPU () |
bool | moveFromGPU () |
bool | copyFromGPU () |
virtual void | changedOnCPU () |
Public Attributes | |
cl_command_queue | m_cqCommandQue |
cl_context | m_clContext |
cl_mem | m_buffer |
btAlignedObjectArray < ElementType > * | m_CPUBuffer |
int | m_gpuSize |
bool | m_onGPU |
bool | m_readOnlyOnGPU |
bool | m_allocated |
Definition at line 35 of file btSoftBodySolverBuffer_OpenCL.h.
btOpenCLBuffer< ElementType >::btOpenCLBuffer | ( | cl_command_queue | commandQue, | |
cl_context | ctx, | |||
btAlignedObjectArray< ElementType > * | CPUBuffer, | |||
bool | readOnly | |||
) | [inline] |
Definition at line 84 of file btSoftBodySolverBuffer_OpenCL.h.
btOpenCLBuffer< ElementType >::~btOpenCLBuffer | ( | ) | [inline] |
Definition at line 96 of file btSoftBodySolverBuffer_OpenCL.h.
virtual void btOpenCLBuffer< ElementType >::changedOnCPU | ( | ) | [inline, virtual] |
Definition at line 202 of file btSoftBodySolverBuffer_OpenCL.h.
bool btOpenCLBuffer< ElementType >::copyFromGPU | ( | ) | [inline] |
Definition at line 177 of file btSoftBodySolverBuffer_OpenCL.h.
bool btOpenCLBuffer< ElementType >::createBuffer | ( | cl_mem * | preexistingBuffer = 0 |
) | [inline] |
Definition at line 53 of file btSoftBodySolverBuffer_OpenCL.h.
bool btOpenCLBuffer< ElementType >::moveFromGPU | ( | ) | [inline] |
Definition at line 150 of file btSoftBodySolverBuffer_OpenCL.h.
bool btOpenCLBuffer< ElementType >::moveToGPU | ( | ) | [inline] |
Definition at line 102 of file btSoftBodySolverBuffer_OpenCL.h.
bool btOpenCLBuffer< ElementType >::m_allocated |
Definition at line 50 of file btSoftBodySolverBuffer_OpenCL.h.
cl_mem btOpenCLBuffer< ElementType >::m_buffer |
Definition at line 41 of file btSoftBodySolverBuffer_OpenCL.h.
cl_context btOpenCLBuffer< ElementType >::m_clContext |
Definition at line 40 of file btSoftBodySolverBuffer_OpenCL.h.
btAlignedObjectArray< ElementType >* btOpenCLBuffer< ElementType >::m_CPUBuffer |
Definition at line 45 of file btSoftBodySolverBuffer_OpenCL.h.
cl_command_queue btOpenCLBuffer< ElementType >::m_cqCommandQue |
Definition at line 39 of file btSoftBodySolverBuffer_OpenCL.h.
int btOpenCLBuffer< ElementType >::m_gpuSize |
Definition at line 47 of file btSoftBodySolverBuffer_OpenCL.h.
bool btOpenCLBuffer< ElementType >::m_onGPU |
Definition at line 48 of file btSoftBodySolverBuffer_OpenCL.h.
bool btOpenCLBuffer< ElementType >::m_readOnlyOnGPU |
Definition at line 49 of file btSoftBodySolverBuffer_OpenCL.h.