Clover Git
OpenCL 1.1 software implementation
Functions | Variables

api_platform.cpp File Reference

Platform. More...

#include "CL/cl.h"
#include <cstring>
#include <core/config.h>
Include dependency graph for api_platform.cpp:

Go to the source code of this file.

Functions

cl_int CL_API_CALL clGetPlatformIDs (cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms)
cl_int clGetPlatformInfo (cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Variables

static const char platform_profile [] = "FULL_PROFILE"
static const char platform_version [] = "OpenCL 1.1 MESA " COAL_VERSION
static const char platform_name [] = "Default"
static const char platform_vendor [] = "Mesa"
static const char platform_extensions [] = "cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics"

Detailed Description

Platform.

Definition in file api_platform.cpp.


Function Documentation

cl_int CL_API_CALL clGetPlatformIDs ( cl_uint  num_entries,
cl_platform_id *  platforms,
cl_uint *  num_platforms 
)

Definition at line 46 of file api_platform.cpp.

cl_int clGetPlatformInfo ( cl_platform_id  platform,
cl_platform_info  param_name,
size_t  param_value_size,
void *  param_value,
size_t *  param_value_size_ret 
)

Variable Documentation

const char platform_extensions[] = "cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics" [static]

Definition at line 41 of file api_platform.cpp.

Referenced by clGetPlatformInfo().

const char platform_name[] = "Default" [static]

Definition at line 39 of file api_platform.cpp.

Referenced by clGetPlatformInfo().

const char platform_profile[] = "FULL_PROFILE" [static]

Definition at line 37 of file api_platform.cpp.

Referenced by clGetPlatformInfo().

const char platform_vendor[] = "Mesa" [static]

Definition at line 40 of file api_platform.cpp.

Referenced by clGetPlatformInfo().

const char platform_version[] = "OpenCL 1.1 MESA " COAL_VERSION [static]

Definition at line 38 of file api_platform.cpp.

Referenced by clGetPlatformInfo().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines