PIP 5.6.1
Platform-Independent Primitives
Public Member Functions | Public Attributes | List of all members
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< Devicedevices
 Devices discovered on the platform.
 

Detailed Description

Description of an OpenCL platform and its devices.