24 #ifndef __ARM_COMPUTE_CLTENSOR_H__ 25 #define __ARM_COMPUTE_CLTENSOR_H__ 35 class ITensorAllocator;
55 void map(
bool blocking =
true);
68 const cl::Buffer &
cl_buffer()
const override;
72 uint8_t *do_map(cl::CommandQueue &q,
bool blocking)
override;
73 void do_unmap(cl::CommandQueue &q)
override;
CLTensorAllocator * allocator()
Return a pointer to the tensor's allocator.
const cl::Buffer & cl_buffer() const override
Interface to be implemented by the child class to return a reference to the OpenCL buffer containing ...
void map(cl::CommandQueue &q, bool blocking=true)
Enqueue a map operation of the allocated buffer on the given queue.
TensorInfo * info() const override
Interface to be implemented by the child class to return the tensor's metadata.
This file contains all available output stages for GEMMLowp on OpenCL.
Basic implementation of a CL memory tensor allocator.
void map(bool blocking=true)
Enqueue a map operation of the allocated buffer.
void unmap(cl::CommandQueue &q)
Enqueue an unmap operation of the allocated and mapped buffer on the given queue. ...
Interface for OpenCL tensor.
Store the tensor's metadata.
void unmap()
Enqueue an unmap operation of the allocated and mapped buffer.
Basic implementation of the OpenCL tensor interface.