32 const std::string device_name =
reinterpret_cast<const char *
>(
glGetString(GL_RENDERER));
GCKernel create_opengl_kernel(GCCoreRuntimeContext *ctx, const std::string &kernel_name, const std::set< std::string > &build_opts)
Creates an GLES kernel.
GCKernelLibrary * kernel_library() const
Kernel Library accessor.
GPUTarget get_target_from_name(const std::string &device_name)
Helper function to get the GPU target from a device name.
Copyright (c) 2017-2021 Arm Limited.
GPUTarget get_target_from_device(const cl::Device &device)
Helper function to get the GPU target from CL device.
static GCKernelLibrary & get()
Get the static instance of GCKernelLibrary.
GPUTarget
Available GPU Targets.
GCKernel create_kernel(const std::string &shader_name, const StringSet &build_options_set={}) const
Creates a kernel from the kernel library.
const GLubyte *GL_APIENTRY glGetString(GLenum name)
Core runtime context for OpenGL ES.