24 #ifndef __ARM_COMPUTE_ICLTENSOR_H__ 25 #define __ARM_COMPUTE_ICLTENSOR_H__ 51 virtual const cl::Buffer &cl_buffer()
const = 0;
61 void map(cl::CommandQueue &q,
bool blocking =
true);
69 void unmap(cl::CommandQueue &q);
74 void clear(cl::CommandQueue &q);
77 uint8_t *buffer()
const override;
87 virtual uint8_t *do_map(cl::CommandQueue &q,
bool blocking) = 0;
95 virtual void do_unmap(cl::CommandQueue &q) = 0;
Interface for NEON tensor.
Interface for OpenCL tensor.