Accelerated Computation Engine
|
#include <opencl_platform.h>
Public Member Functions | |
cl_platform_id | id () const |
QString | profile () const |
QString | version () const |
QString | name () const |
QString | vendor () const |
const QStringList & | extensions () const |
int | deviceSize () const |
OpenCL::Device * | device (int index) const |
Static Public Member Functions | |
static int | size () |
static OpenCL::Platform * | get (int index) |
This provides information about a single OpenCL platform along with static methods for iterating through all available platforms. This also provides methods for iterating through all OpenCL devices of their respective platform. This class is not intended to be instantiated on its own but instead queried through the static methods. Any pointer to a platform the static methods return will exist for the lifetime of the ACE program.
OpenCL::Device * Platform::device | ( | int | index | ) | const |
int Platform::deviceSize | ( | ) | const |
const QStringList & Platform::extensions | ( | ) | const |
|
static |
cl_platform_id Platform::id | ( | ) | const |
QString Platform::name | ( | ) | const |
Returns the name of this platform.
QString Platform::profile | ( | ) | const |
Returns the profile of this platform.
|
static |
QString Platform::vendor | ( | ) | const |
Returns the vendor of this platform.
QString Platform::version | ( | ) | const |