24.02.1
|
Go to the documentation of this file.
41 if (has_mutable_dispatch)
43 return std::make_unique<CLMutableCommandBuffer>(queue);
47 return std::make_unique<CLCompatCommandBuffer>(queue);
54 CLCommandBuffer::State CLCommandBuffer::state()
const
59 CLCommandBuffer &CLCommandBuffer::state(CLCommandBuffer::State state)
static std::unique_ptr< CLCommandBuffer > create(cl_command_queue queue)
Create a new command buffer targeting the specified command queue.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context.
virtual ~CLCommandBuffer()
Destructor.
CLCommandBuffer()
Constructor.
Copyright (c) 2017-2024 Arm Limited.
bool command_buffer_mutable_dispatch_supported(const cl::Device &device)
Check whether cl_khr_command_buffer_mutable_dispatch extension is supported by the specified CL devic...
const cl::Device & get_device()
Gets the CL device for which the programs are created.