25 #ifndef ARM_COMPUTE_GCSCHEDULER_H 26 #define ARM_COMPUTE_GCSCHEDULER_H 74 void init(EGLDisplay dpy, EGLContext ctx);
99 static std::once_flag _initialize_symbols;
void dispatch(IGCKernel &kernel, bool flush=true)
Schedule the execution of the passed kernel if possible.
void memory_barrier()
Defines a barrier ordering memory transactions.
Copyright (c) 2017-2021 Arm Limited.
void default_init_with_context(EGLDisplay display, EGLContext ctx)
Initializes the context and display used by the Scheduler.
void init(EGLDisplay dpy, EGLContext ctx)
Initialises the display and context to be used by the scheduler.
~GCScheduler()
Destructor.
GCScheduler & operator=(const GCScheduler &)=delete
Prevent instances of this class from being copied.
void set_target(GPUTarget target)
Accessor to set target GPU to be used by the scheduler.
GCScheduler()
Constructor.
Provides global access to a OpenGL ES context and command queue.
GPUTarget
Available GPU Targets.
Common interface for all the GLES kernels.
GPUTarget get_target() const
Get the target GPU.
void default_init()
Initialises the context and command queue used by the scheduler to default values and sets a default ...