Openholo  v4.2
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)
 
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)
 
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)
 
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 ()
 
static OpenCLgetInstance ()
 
static void releaseInstance ()
 
static OpenCLgetInstance ()
 
static void releaseInstance ()
 
static OpenCLgetInstance ()
 
static void releaseInstance ()
 

Detailed Description

Definition at line 8 of file OpenCL.h.

Member Function Documentation

◆ errorCheck() [1/4]

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

Definition at line 150 of file OpenCL.cpp.

◆ errorCheck() [2/4]

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

◆ errorCheck() [3/4]

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

◆ errorCheck() [4/4]

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

◆ getCommand() [1/4]

cl_command_queue& OpenCL::getCommand ( )
inline

Definition at line 46 of file OpenCL.h.

◆ getCommand() [2/4]

cl_command_queue& OpenCL::getCommand ( )
inline

Definition at line 46 of file OpenCL.h.

◆ getCommand() [3/4]

cl_command_queue& OpenCL::getCommand ( )
inline

Definition at line 46 of file OpenCL.h.

◆ getCommand() [4/4]

cl_command_queue& OpenCL::getCommand ( )
inline

Definition at line 46 of file OpenCL.h.

◆ getContext() [1/4]

cl_context& OpenCL::getContext ( void  )
inline

Definition at line 45 of file OpenCL.h.

◆ getContext() [2/4]

cl_context& OpenCL::getContext ( )
inline

Definition at line 45 of file OpenCL.h.

◆ getContext() [3/4]

cl_context& OpenCL::getContext ( void  )
inline

Definition at line 45 of file OpenCL.h.

◆ getContext() [4/4]

cl_context& OpenCL::getContext ( void  )
inline

Definition at line 45 of file OpenCL.h.

◆ getInstance() [1/4]

static OpenCL* OpenCL::getInstance ( )
inlinestatic

Definition at line 17 of file OpenCL.h.

◆ getInstance() [2/4]

static OpenCL* OpenCL::getInstance ( )
inlinestatic

Definition at line 17 of file OpenCL.h.

◆ getInstance() [3/4]

static OpenCL* OpenCL::getInstance ( )
inlinestatic

Definition at line 17 of file OpenCL.h.

◆ getInstance() [4/4]

static OpenCL* OpenCL::getInstance ( )
inlinestatic

Definition at line 17 of file OpenCL.h.

◆ getKernel() [1/4]

cl_kernel* OpenCL::getKernel ( )
inline

Definition at line 48 of file OpenCL.h.

◆ getKernel() [2/4]

cl_kernel* OpenCL::getKernel ( )
inline

Definition at line 48 of file OpenCL.h.

◆ getKernel() [3/4]

cl_kernel* OpenCL::getKernel ( )
inline

Definition at line 48 of file OpenCL.h.

◆ getKernel() [4/4]

cl_kernel* OpenCL::getKernel ( )
inline

Definition at line 48 of file OpenCL.h.

◆ getNumOfKernel() [1/4]

cl_uint OpenCL::getNumOfKernel ( )
inline

Definition at line 49 of file OpenCL.h.

◆ getNumOfKernel() [2/4]

cl_uint OpenCL::getNumOfKernel ( )
inline

Definition at line 49 of file OpenCL.h.

◆ getNumOfKernel() [3/4]

cl_uint OpenCL::getNumOfKernel ( )
inline

Definition at line 49 of file OpenCL.h.

◆ getNumOfKernel() [4/4]

cl_uint OpenCL::getNumOfKernel ( )
inline

Definition at line 49 of file OpenCL.h.

◆ getProgram() [1/4]

cl_program* OpenCL::getProgram ( )
inline

Definition at line 47 of file OpenCL.h.

◆ getProgram() [2/4]

cl_program* OpenCL::getProgram ( )
inline

Definition at line 47 of file OpenCL.h.

◆ getProgram() [3/4]

cl_program* OpenCL::getProgram ( )
inline

Definition at line 47 of file OpenCL.h.

◆ getProgram() [4/4]

cl_program* OpenCL::getProgram ( )
inline

Definition at line 47 of file OpenCL.h.

◆ getWorkSize() [1/4]

size_t OpenCL::getWorkSize ( )
inline

Definition at line 50 of file OpenCL.h.

◆ getWorkSize() [2/4]

size_t OpenCL::getWorkSize ( )
inline

Definition at line 50 of file OpenCL.h.

◆ getWorkSize() [3/4]

size_t OpenCL::getWorkSize ( )
inline

Definition at line 50 of file OpenCL.h.

◆ getWorkSize() [4/4]

size_t OpenCL::getWorkSize ( )
inline

Definition at line 50 of file OpenCL.h.

◆ LoadKernel() [1/4]

bool OpenCL::LoadKernel ( )

Definition at line 162 of file OpenCL.cpp.

◆ LoadKernel() [2/4]

bool OpenCL::LoadKernel ( )

◆ LoadKernel() [3/4]

bool OpenCL::LoadKernel ( )

◆ LoadKernel() [4/4]

bool OpenCL::LoadKernel ( )

◆ releaseInstance() [1/4]

static void OpenCL::releaseInstance ( )
inlinestatic

Definition at line 26 of file OpenCL.h.

◆ releaseInstance() [2/4]

static void OpenCL::releaseInstance ( )
inlinestatic

Definition at line 26 of file OpenCL.h.

◆ releaseInstance() [3/4]

static void OpenCL::releaseInstance ( )
inlinestatic

Definition at line 26 of file OpenCL.h.

◆ releaseInstance() [4/4]

static void OpenCL::releaseInstance ( )
inlinestatic

Definition at line 26 of file OpenCL.h.


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