24 #ifndef __ARM_COMPUTE_IGCTENSOR_H__ 25 #define __ARM_COMPUTE_IGCTENSOR_H__ 62 void map(
bool blocking =
true);
71 uint8_t *
buffer()
const override;
97 virtual uint8_t *do_map(
bool blocking) = 0;
103 virtual void do_unmap() = 0;
107 bool _needs_shifting;
void map(bool blocking=true)
Map on an allocated buffer.
virtual ~IGCTensor()=default
Virtual destructor.
void unmap()
Unmap an allocated and mapped buffer.
void clear()
Clear the contents of the tensor synchronously.
Interface for GLES Compute tensor.
uint8_t * buffer() const override
Interface to be implemented by the child class to return a pointer to CPU memory. ...
Interface for NEON tensor.
bool needs_shifting() const
Flag indicating whether the tensor has been left aligned by a kernel and therefore needs shifting...
This file contains all available output stages for GEMMLowp on OpenCL.
virtual GLuint gc_buffer() const =0
Interface to be implemented by the child class to return the tensor's gles compute buffer id...
void set_needs_shifting(bool needs_shifting)
Set the flag indicating whether or not a tensor needs shifting.
IGCTensor()
Default constructor.
IGCTensor & operator=(const IGCTensor &)=delete
Prevent instances of this class from being copy assigned (As this class contains pointers) ...