diff options
author | Gil Pitney <gil.pitney@linaro.org> | 2015-04-10 00:25:46 +0000 |
---|---|---|
committer | Gil Pitney <gil.pitney@linaro.org> | 2015-04-10 00:25:46 +0000 |
commit | 6a94b46ff3cc78706cadf95a9d3f5adadb410c5d (patch) | |
tree | 54f7973f4e8bc3c8fce5e54722a423cf9b479b55 /src/core/icd.cpp | |
parent | 07efdfd40f4d61801e46e2c733248759afe4ae8e (diff) |
Implementied clEnqueueBarrierWithWaitList(), and updated clEnqueueBarrier()
clEnqueueBarrierWithWaitList() is a new OpenCL v1.2 API, which adds
a list of dependent events to the barrier being enqueued.
The new API was also added to ICD table.
This commit allows the Khronos barrier event tests to PASS:
- % test_events event_enqueue_barrier_with_event_list
- % test_events out_of_order_event_enqueue_barrier_single_queue
Also, added the new API to the ICD table.
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
Diffstat (limited to 'src/core/icd.cpp')
-rw-r--r-- | src/core/icd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/icd.cpp b/src/core/icd.cpp index 0af7296..5c79d0e 100644 --- a/src/core/icd.cpp +++ b/src/core/icd.cpp @@ -136,8 +136,8 @@ void * dispatch_table[] = (void *) 0, // clEnqueueFillBuffer; (void *) 0, // clEnqueueFillImage; (void *) 0, // clEnqueueMigrateMemObjects; - (void *) 0, // clEnqueueBarrierWithWaitList; (void *) clEnqueueMarkerWithWaitList, + (void *) clEnqueueBarrierWithWaitList, (void *) 0, // clGetExtensionFunctionAddressForPlatform; (void *) 0, // clCreateFromGLTexture; |