Openholo  v5.0
Open Source Digital Holographic Library
OpenCL Class Reference

#include <OpenCL.h>

Public Member Functions

cl_context & getContext ()
 
cl_command_queue & getCommand ()
 
cl_program * getProgram ()
 
cl_kernel * getKernel ()
 
cl_uint getNumOfKernel ()
 
size_t getWorkSize ()
 
bool LoadKernel ()
 
void errorCheck (cl_int err, const char *operation, char *filename, int line)
 

Static Public Member Functions

static OpenCLgetInstance ()
 
static void releaseInstance ()
 

Detailed Description

Definition at line 8 of file OpenCL.h.

Member Function Documentation

◆ errorCheck()

void OpenCL::errorCheck ( cl_int  err,
const char *  operation,
char *  filename,
int  line 
)

Definition at line 150 of file OpenCL.cpp.

◆ getCommand()

cl_command_queue& OpenCL::getCommand ( )
inline

Definition at line 46 of file OpenCL.h.

◆ getContext()

cl_context& OpenCL::getContext ( void  )
inline

Definition at line 45 of file OpenCL.h.

◆ getInstance()

static OpenCL* OpenCL::getInstance ( )
inlinestatic

Definition at line 17 of file OpenCL.h.

◆ getKernel()

cl_kernel* OpenCL::getKernel ( )
inline

Definition at line 48 of file OpenCL.h.

◆ getNumOfKernel()

cl_uint OpenCL::getNumOfKernel ( )
inline

Definition at line 49 of file OpenCL.h.

◆ getProgram()

cl_program* OpenCL::getProgram ( )
inline

Definition at line 47 of file OpenCL.h.

◆ getWorkSize()

size_t OpenCL::getWorkSize ( )
inline

Definition at line 50 of file OpenCL.h.

◆ LoadKernel()

bool OpenCL::LoadKernel ( )

Definition at line 162 of file OpenCL.cpp.

◆ releaseInstance()

static void OpenCL::releaseInstance ( )
inlinestatic

Definition at line 26 of file OpenCL.h.


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