diff options
-rw-r--r-- | src/clpp11.hpp | 3 |
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 } |