24 #ifndef __ARM_COMPUTE_ICLTENSOR_H__ 25 #define __ARM_COMPUTE_ICLTENSOR_H__ 60 virtual const cl::Buffer &cl_buffer()
const = 0;
70 void map(cl::CommandQueue &q,
bool blocking =
true);
78 void unmap(cl::CommandQueue &q);
83 void clear(cl::CommandQueue &q);
86 uint8_t *buffer()
const override;
96 virtual uint8_t *do_map(cl::CommandQueue &q,
bool blocking) = 0;
104 virtual void do_unmap(cl::CommandQueue &q) = 0;
Affinity at buffer level.
Interface for NEON tensor.
This file contains all available output stages for GEMMLowp on OpenCL.
void unmap(T &tensor)
Unmaps a tensor if needed.
Interface for OpenCL tensor.
void map(T &tensor, bool blocking)
Maps a tensor if needed.