24 #ifndef ARM_COMPUTE_ICLDISTRIBUTION1D_H 25 #define ARM_COMPUTE_ICLDISTRIBUTION1D_H 63 void map(cl::CommandQueue &q,
bool blocking =
true);
71 void unmap(cl::CommandQueue &q);
76 virtual cl::Buffer &cl_buffer() = 0;
78 uint32_t *buffer()
const override;
88 virtual uint32_t *do_map(cl::CommandQueue &q,
bool blocking) = 0;
96 virtual void do_unmap(cl::CommandQueue &q) = 0;
__global uchar * offset(const Image *img, int x, int y)
Get the pointer position of a Image.
Copyright (c) 2017-2021 Arm Limited.
void unmap(T &tensor)
Unmaps a tensor if needed.
SimpleTensor< T > range(SimpleTensor< T > &dst, float start, const size_t num_of_elements, float step)
1D Distribution interface
ICLDistribution1D interface class.
void map(T &tensor, bool blocking)
Maps a tensor if needed.