PIP 6.1.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
PIOpenCL::Platform Struct Reference

Description of an OpenCL platform and its devices. More...

#include <piopencl.h>

Public Member Functions

 Platform ()
 Constructs an invalid platform description.
bool isValid () const
 Returns true when the native platform handle is available.
PIString displayText () const
 Returns a short display label with version and profile.

Public Attributes

void * id
 Native OpenCL platform handle.
PIString name
 Human-readable platform name.
PIString vendor
 Platform vendor name.
PIString profile
 Platform profile string.
PIString version
 Platform version string.
PIStringList extensions
 Reported extension names.
PIVector< Device > devices
 Devices discovered on the platform.

Detailed Description

Description of an OpenCL platform and its devices.