16 #error OpenCL has not been enabled 20 #include <OpenCL/cl.hpp> 93 void InitOCL(
int plat,
int dev);
std::vector< cl::Platform > all_platforms
Definition: oclengine.hpp:66
cl::Kernel swap
Definition: oclengine.hpp:76
cl::Kernel * GetROLPtr()
Get a pointer to the ROL function kernel.
Definition: oclengine.cpp:29
OCLEngine()
Definition: oclengine.cpp:39
cl::Kernel inc
Definition: oclengine.hpp:79
static OCLEngine * Instance()
Get a pointer to the Instance of the singleton. (The instance will be instantiated, if it does not exist yet.)
Definition: oclengine.cpp:100
cl::Kernel indexedSbc
Definition: oclengine.hpp:85
cl::Kernel * GetSwapPtr()
Get a pointer to the Swap function kernel.
Definition: oclengine.cpp:28
cl::Platform default_platform
Definition: oclengine.hpp:67
cl::Kernel * GetRORPtr()
Get a pointer to the ROR function kernel.
Definition: oclengine.cpp:30
cl::Kernel * GetLDAPtr()
Get a pointer to the IndexedLDA function kernel.
Definition: oclengine.cpp:35
static OCLEngine * m_pInstance
Definition: oclengine.hpp:91
cl::Program program
Definition: oclengine.hpp:71
std::vector< cl::Device > all_devices
Definition: oclengine.hpp:68
cl::Kernel * GetApply2x2NormPtr()
Get a pointer to the Apply2x2Norm function kernel.
Definition: oclengine.cpp:26
cl::Kernel * GetINCCPtr()
Get a pointer to the INCC function kernel.
Definition: oclengine.cpp:33
cl::CommandQueue * GetQueuePtr()
Get a pointer to the OpenCL queue.
Definition: oclengine.cpp:24
cl::Kernel decc
Definition: oclengine.hpp:82
cl::Kernel * GetApply2x2Ptr()
Get a pointer to the Apply2x2 function kernel.
Definition: oclengine.cpp:25
cl::Kernel indexedLda
Definition: oclengine.hpp:83
cl::Device default_device
Definition: oclengine.hpp:69
OCLEngine & operator=(OCLEngine const &rhs)
Definition: oclengine.cpp:42
cl::Kernel apply2x2
Definition: oclengine.hpp:73
cl::Kernel ror
Definition: oclengine.hpp:78
cl::CommandQueue queue
Definition: oclengine.hpp:72
cl::Kernel apply2x2norm
Definition: oclengine.hpp:74
cl::Kernel * GetDECPtr()
Get a pointer to the DEC function kernel.
Definition: oclengine.cpp:32
cl::Kernel rol
Definition: oclengine.hpp:77
cl::Kernel * GetADCPtr()
Get a pointer to the IndexedADC function kernel.
Definition: oclengine.cpp:36
void InitOCL(int plat, int dev)
Definition: oclengine.cpp:44
cl::Kernel * GetXPtr()
Get a pointer to the X function kernel.
Definition: oclengine.cpp:27
cl::Kernel * GetINCPtr()
Get a pointer to the INC function kernel.
Definition: oclengine.cpp:31
cl::Kernel incc
Definition: oclengine.hpp:81
"Qrack::OCLEngine" manages the single OpenCL context.
Definition: oclengine.hpp:28
cl::Context context
Definition: oclengine.hpp:70
cl::Kernel indexedAdc
Definition: oclengine.hpp:84
cl::Kernel x
Definition: oclengine.hpp:75
cl::Kernel * GetSBCPtr()
Get a pointer to the IndexedSBC function kernel.
Definition: oclengine.cpp:37
cl::Context * GetContextPtr()
Get a pointer to the OpenCL context.
Definition: oclengine.cpp:23
cl::Kernel * GetDECCPtr()
Get a pointer to the DECC function kernel.
Definition: oclengine.cpp:34
cl::Kernel dec
Definition: oclengine.hpp:80
Definition: complex16simd.hpp:21