summaryrefslogtreecommitdiff
path: root/src/clpp11.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clpp11.hpp')
-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
}