24 #ifndef __ARM_COMPUTE_ILUTALLOCATOR_H__ 25 #define __ARM_COMPUTE_ILUTALLOCATOR_H__ 70 virtual void allocate() = 0;
75 virtual uint8_t *lock() = 0;
77 virtual void unlock() = 0;
size_t num_elements() const
Returns the total number of elements in the LUT.
virtual ~ILutAllocator()=default
Default virtual destructor.
Basic interface to allocate LUTs'.
size_t size() const
Returns the total size in bytes of the LUT.
This file contains all available output stages for GEMMLowp on OpenCL.
void init(size_t num_elements, DataType data_type)
Allocate an LUT of the requested number of elements and data_type.
ILutAllocator & operator=(ILutAllocator &&)=default
Allow instances of this class to be moved.
DataType type() const
Returns the type of the LUT.
ILutAllocator()
Default constructor.
DataType
Available data types.