LibreOffice Module opencl (master) 1
|
#include <vector>
#include <clew/clew.h>
#include <opencl/opencldllapi.h>
#include <rtl/ustring.hxx>
#include <cstdio>
Go to the source code of this file.
Classes | |
struct | openclwrapper::KernelEnv |
struct | openclwrapper::GPUEnv |
Namespaces | |
namespace | openclwrapper |
Macros | |
#define | MAX_CLFILE_NUM 50 |
#define | OPENCL_CMDQUEUE_SIZE 1 |
Functions | |
bool | openclwrapper::canUseOpenCL () |
bool | openclwrapper::generatBinFromKernelSource (cl_program program, const char *clFileName) |
bool | openclwrapper::buildProgramFromBinary (const char *buildOption, GPUEnv *gpuInfo, const char *filename, int idx) |
void | openclwrapper::setKernelEnv (KernelEnv *envInfo) |
const std::vector< OpenCLPlatformInfo > & | openclwrapper::fillOpenCLInfo () |
bool | openclwrapper::switchOpenCLDevice (std::u16string_view aDevice, bool bAutoSelect, bool bForceEvaluation, OUString &rOutSelectedDeviceVersionIDString) |
Used to set or switch between OpenCL devices. More... | |
void | openclwrapper::getOpenCLDeviceInfo (size_t &rDeviceId, size_t &rPlatformId) |
void | openclwrapper::getOpenCLDeviceName (OUString &rDeviceName, OUString &rPlatformName) |
void | openclwrapper::setOpenCLCmdQueuePosition (int nPos) |
Set the current command queue position in case of multiple command queues for a given device. More... | |
const char * | openclwrapper::errorString (cl_int nError) |
Return a textual representation of an OpenCL error code. More... | |
#define MAX_CLFILE_NUM 50 |
Definition at line 20 of file openclwrapper.hxx.
#define OPENCL_CMDQUEUE_SIZE 1 |
Definition at line 21 of file openclwrapper.hxx.