aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/GLES_COMPUTE
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 /arm_compute/runtime/GLES_COMPUTE
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 'arm_compute/runtime/GLES_COMPUTE')
-rw-r--r--arm_compute/runtime/GLES_COMPUTE/GCScheduler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arm_compute/runtime/GLES_COMPUTE/GCScheduler.h b/arm_compute/runtime/GLES_COMPUTE/GCScheduler.h
index 8aac9c4023..9bdff630e7 100644
--- a/arm_compute/runtime/GLES_COMPUTE/GCScheduler.h
+++ b/arm_compute/runtime/GLES_COMPUTE/GCScheduler.h
@@ -52,7 +52,7 @@ public:
* @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 @@ public:
*/
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 */