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>
diff --git a/arm_compute/runtime/GLES_COMPUTE/GCScheduler.h b/arm_compute/runtime/GLES_COMPUTE/GCScheduler.h
index 8aac9c4..9bdff63 100644
--- a/arm_compute/runtime/GLES_COMPUTE/GCScheduler.h
+++ b/arm_compute/runtime/GLES_COMPUTE/GCScheduler.h
@@ -52,7 +52,7 @@
* @param[in] kernel Kernel to execute.
* @param[in] flush (Optional) Specifies if the command queue will be flushed after running the kernel.
*/
- void enqueue(IGCKernel &kernel, bool flush = true);
+ void dispatch(IGCKernel &kernel, bool flush = true);
/** Initialises the display and context to be used by the scheduler.
*
@@ -61,8 +61,8 @@
*/
void init(EGLDisplay dpy, EGLContext ctx);
- /** Blocks until all commands in the associated command queue have finished. */
- void sync();
+ /** Defines a barrier ordering memory transactions. */
+ void memory_barrier();
private:
/** Constructor */