ImFusion C++ SDK 4.4.0
ImFusion::ClPlatform Class Reference

#include <ImFusion/CL/ClPlatform.h>

OpenCL platform class. More...

Detailed Description

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>
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 ()

The documentation for this class was generated from the following file:
  • ImFusion/CL/ClPlatform.h
Search Tab / S to search, Esc to close