cf4ocl (C Framework for OpenCL)  v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ccl_platforms Struct Reference

Class which represents the OpenCL platforms available in the system. More...

Collaboration diagram for ccl_platforms:
Collaboration graph

Public Member Functions

cl_uint ccl_platforms_count (CCLPlatforms *platforms)
 Return number of OpenCL platforms found in CCLPlatforms object. More...
 
void ccl_platforms_destroy (CCLPlatforms *platforms)
 Destroy a CCLPlatforms* object, including all underlying platforms, devices and data. More...
 
CCLPlatformccl_platforms_get (CCLPlatforms *platforms, cl_uint index)
 Get platform wrapper object at given index. More...
 
CCLPlatformsccl_platforms_new (CCLErr **err)
 Creates a new CCLPlatforms* object, which contains the list of OpenCL platforms available in the system. More...
 

Detailed Description

Class which represents the OpenCL platforms available in the system.

Examples:
list_devices.c.

Definition at line 37 of file ccl_platforms.c.