summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2018-07-29 22:16:27 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2018-07-29 22:16:27 +0200
commit2b76bfee97fb775128126506f695535e38ea41ef (patch)
tree4f4104165674a110bc4f5cf46f6869e7a37d7365
parent429ff070f84212a202091c9173bd5d754dc05b51 (diff)
Fixed a wrong event issue causing error -57
-rw-r--r--src/clpp11.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clpp11.hpp b/src/clpp11.hpp
index 2d411a41..70da2329 100644
--- a/src/clpp11.hpp
+++ b/src/clpp11.hpp
@@ -852,8 +852,7 @@ class Kernel {
const std::vector<size_t> nullRange = {1};
CheckError(clEnqueueNDRangeKernel(queue(), *null_kernel_, static_cast<cl_uint>(nullRange.size()),
nullptr, nullRange.data(), nullptr,
- static_cast<cl_uint>(waitForEventsPlain.size()),
- nullptr, event));
+ 0, nullptr, nullptr));
#endif
}