aboutsummaryrefslogtreecommitdiff
path: root/src/core/icd.cpp
diff options
context:
space:
mode:
authorGil Pitney <gil.pitney@linaro.org>2015-04-29 21:45:54 +0000
committerGil Pitney <gil.pitney@linaro.org>2015-04-29 21:45:54 +0000
commit28d612801e84bc25187af84bd385989f31833792 (patch)
treef5042a883d16a8dfecca53b7339cdbc1f8daedad /src/core/icd.cpp
parentb06f8ce70af3c50b9699e92f5fea2a3122d5a4dc (diff)
Stub out new v1.2 functions, sufficient to allow building of test_buffers
Khronos test 'test_buffers' requires new v1.2 API symbols to compile. This is in preparation for developing and validating the new v1.2 buffer functions (clEnqueueFillBuffer(), clEnqueueMigrateMemObjects()). Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
Diffstat (limited to 'src/core/icd.cpp')
-rw-r--r--src/core/icd.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/icd.cpp b/src/core/icd.cpp
index b7fb921..7378d41 100644
--- a/src/core/icd.cpp
+++ b/src/core/icd.cpp
@@ -124,18 +124,18 @@ void * dispatch_table[] =
(void *) 0, //clCreateEventFromGLsyncKHR;
- (void *) 0, //clCreateSubDevices;
- (void *) 0, //clRetainDevice;
- (void *) 0, //clReleaseDevice;
+ (void *) clCreateSubDevices,
+ (void *) clRetainDevice,
+ (void *) clReleaseDevice,
(void *) clCreateImage,
(void *) 0, // clCreateProgramWithBuiltInKernels;
(void *) clCompileProgram,
(void *) clLinkProgram,
(void *) clUnloadPlatformCompiler,
(void *) clGetKernelArgInfo,
- (void *) 0, // clEnqueueFillBuffer;
+ (void *) clEnqueueFillBuffer,
(void *) 0, // clEnqueueFillImage;
- (void *) 0, // clEnqueueMigrateMemObjects;
+ (void *) clEnqueueMigrateMemObjects,
(void *) clEnqueueMarkerWithWaitList,
(void *) clEnqueueBarrierWithWaitList,
(void *) clGetExtensionFunctionAddressForPlatform,