summaryrefslogtreecommitdiff
path: root/src/routines/common.cpp
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2016-07-11 22:36:39 +0300
committerIvan Shapovalov <intelfx@intelfx.name>2016-07-22 11:15:52 +0300
commit2dd5ee3f758f817238cf74c068c5cad6eb3d46dd (patch)
tree03eba812b12c434ec650da3397103535d56e41cc /src/routines/common.cpp
parent1ae71614ac227e9b80678505fcb5ecc18a3d3383 (diff)
clblast::RunKernel, cl::Kernel: take const vector as waitForEvents
Diffstat (limited to 'src/routines/common.cpp')
-rw-r--r--src/routines/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/common.cpp b/src/routines/common.cpp
index 2e82e04d..21e16954 100644
--- a/src/routines/common.cpp
+++ b/src/routines/common.cpp
@@ -22,7 +22,7 @@ namespace clblast {
// Enqueues a kernel, waits for completion, and checks for errors
StatusCode RunKernel(Kernel &kernel, Queue &queue, const Device &device,
std::vector<size_t> global, const std::vector<size_t> &local,
- EventPointer event, std::vector<Event>& waitForEvents) {
+ EventPointer event, const std::vector<Event> &waitForEvents) {
// Tests for validity of the local thread sizes
if (local.size() > device.MaxWorkItemDimensions()) {