![]() |
ImFusion SDK 4.3
|
#include <ImFusion/CL/ClPlatform.h>
OpenCL platform class. More...
OpenCL platform class.
Public Types | |
enum | DeviceType { DEFAULT = (1 << 0) , CPU = (1 << 1) , GPU = (1 << 2) , ACCELERATOR = (1 << 3) , ALL = 0xFFFFFFFF } |
Public Member Functions | |
ClPlatform (void *platform) | |
bool | isValid () const |
void * | platformId () const |
std::string | profile () const |
std::string | version () const |
std::string | name () const |
std::string | vendor () const |
std::string | extensions () const |
std::vector< ClDevice * > | devices (unsigned long long deviceType=ALL) const |
template<typename T> | |
T | getPlatformInfo (unsigned int name, int *ret=0) const |
template<typename T> | |
std::vector< T > | getPlatformInfoVector (unsigned int name, int *ret=0) const |
Static Public Member Functions | |
static std::vector< ClPlatform * > | platforms () |