Clover Git
OpenCL 1.1 software implementation
|
Platform. More...
#include "CL/cl.h"
#include <cstring>
#include <core/config.h>
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" |
Platform.
Definition in file api_platform.cpp.
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 | ||
) |
Definition at line 66 of file api_platform.cpp.
References platform_extensions, platform_name, platform_profile, platform_vendor, and platform_version.
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().