aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/GLES_COMPUTE/IGCSimpleFunction.cpp
diff options
context:
space:
mode:
authorJoel Liang <joel.liang@arm.com>2017-12-27 13:16:00 +0800
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:33 +0000
commiteb8f71eecbc44e64cd7814f53b27b42c43dd660b (patch)
tree9a101eac3cd0e265c38511f94da24fda4f42e013 /src/runtime/GLES_COMPUTE/IGCSimpleFunction.cpp
parentb59eb0b031e1dc73fa0a67ee08b468a135cec835 (diff)
downloadComputeLibrary-eb8f71eecbc44e64cd7814f53b27b42c43dd660b.tar.gz
APPBROWSER-230, APPBROWSER-300: Rename GCScheduler enqueue to dispatch, sync to memory_barrier
Also fix the synchronisation issues between different kernels. Change-Id: Ib59d83ae8d5cc8b0bdf13e6f4958edccdab91ca4 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114594 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/GLES_COMPUTE/IGCSimpleFunction.cpp')
-rw-r--r--src/runtime/GLES_COMPUTE/IGCSimpleFunction.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/runtime/GLES_COMPUTE/IGCSimpleFunction.cpp b/src/runtime/GLES_COMPUTE/IGCSimpleFunction.cpp
index 19f178f445..f2926b0a3f 100644
--- a/src/runtime/GLES_COMPUTE/IGCSimpleFunction.cpp
+++ b/src/runtime/GLES_COMPUTE/IGCSimpleFunction.cpp
@@ -38,8 +38,7 @@ void IGCSimpleFunction::run()
{
ARM_COMPUTE_ERROR_ON_MSG(!_kernel, "The child class didn't set the GLES kernel or function isn't configured");
- // FIXME(APPBROWSER-300): We may need to rename "enqueue" to "dispatch" and "sync" to "memory_barrier".
- GCScheduler::get().enqueue(_border_handler, false);
- GCScheduler::get().sync();
- GCScheduler::get().enqueue(*_kernel);
+ GCScheduler::get().dispatch(_border_handler, false);
+ GCScheduler::get().memory_barrier();
+ GCScheduler::get().dispatch(*_kernel);
}