|
16 | 16 | * OpenCL is a trademark of Apple Inc. used under license by Khronos. |
17 | 17 | */ |
18 | 18 |
|
19 | | -#include <CL/cl.h> |
20 | | - |
21 | | -#if !defined(CL_PLATFORM_UNLOADABLE_KHR) |
22 | | -#define CL_PLATFORM_UNLOADABLE_KHR 0x0921 |
23 | | -#endif |
24 | | - |
25 | | -#if defined(CL_ENABLE_LAYERS) && !defined(CL_LAYER_PROPERTIES_LIST_END) |
26 | | -typedef cl_properties cl_layer_properties; |
27 | | - |
28 | | -#define CL_LAYER_PROPERTIES_LIST_END ((cl_layer_properties)0) |
29 | | - |
30 | | -typedef cl_int CL_API_CALL |
31 | | -clInitLayerWithProperties_t( |
32 | | - cl_uint num_entries, |
33 | | - const cl_icd_dispatch *target_dispatch, |
34 | | - cl_uint *num_entries_ret, |
35 | | - const cl_icd_dispatch **layer_dispatch_ret, |
36 | | - const cl_layer_properties *properties); |
37 | | - |
38 | | -typedef clInitLayerWithProperties_t *pfn_clInitLayerWithProperties; |
39 | | - |
40 | | -typedef cl_int CL_API_CALL |
41 | | -clDeinitLayer_t(void); |
42 | | - |
43 | | -typedef clDeinitLayer_t *pfn_clDeinitLayer; |
44 | | -#endif //defined(CL_ENABLE_LAYERS) && !defined(CL_LAYER_PROPERTIES_LIST_END) |
45 | | - |
46 | | -#if !defined(CL_ICD2_TAG_KHR) |
47 | | -#if INTPTR_MAX == INT32_MAX |
48 | | -#define CL_ICD2_TAG_KHR ((intptr_t)0x434C3331) |
49 | | -#else |
50 | | -#define CL_ICD2_TAG_KHR ((intptr_t)0x4F50454E434C3331) |
51 | | -#endif |
52 | | - |
53 | | -typedef void * CL_API_CALL |
54 | | -clIcdGetFunctionAddressForPlatformKHR_t( |
55 | | - cl_platform_id platform, |
56 | | - const char* func_name); |
57 | | - |
58 | | -typedef clIcdGetFunctionAddressForPlatformKHR_t * |
59 | | -clIcdGetFunctionAddressForPlatformKHR_fn; |
60 | | - |
61 | | -typedef cl_int CL_API_CALL |
62 | | -clIcdSetPlatformDispatchDataKHR_t( |
63 | | - cl_platform_id platform, |
64 | | - void *disp_data); |
65 | | - |
66 | | -typedef clIcdSetPlatformDispatchDataKHR_t * |
67 | | -clIcdSetPlatformDispatchDataKHR_fn; |
68 | | -#endif // !defined(CL_ICD2_TAG_KHR) |
| 19 | +/* This is intentionally empty and left as a placeholder. */ |
0 commit comments