Pass explicitly local workgroup size to enqueue in acl (#3996)
author윤지영/동작제어Lab(SR)/Engineer/삼성전자 <jy910.yun@samsung.com>
Thu, 13 Dec 2018 00:51:13 +0000 (09:51 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 13 Dec 2018 00:51:13 +0000 (09:51 +0900)
This patch allows the local workgroup size(_lws_hint) value pass to enqueue function

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
libs/ARMComputeEx/src/core/CL/kernels/CLNegKernel.cpp

index da75380..4344a34 100644 (file)
@@ -84,6 +84,6 @@ void CLNegKernel::run(const Window &window, cl::CommandQueue &queue)
     unsigned int idx = 0;
     add_3D_tensor_argument(idx, _input, slice);
     add_3D_tensor_argument(idx, _output, slice);
-    enqueue(queue, *this, slice);
+    enqueue(queue, *this, slice, _lws_hint);
   } while (collapsed.slide_window_slice_3D(slice));
 }