24 #ifndef ARM_COMPUTE_CLHOG_H 25 #define ARM_COMPUTE_CLHOG_H 54 void map(
bool blocking =
true);
68 const cl::Buffer &
cl_buffer()
const override;
72 uint8_t *do_map(cl::CommandQueue &q,
bool blocking)
override;
73 void do_unmap(cl::CommandQueue &q)
override;
void init(const HOGInfo &input)
Allocate the HOG descriptor using the given HOG's metadata.
Store the HOG's metadata.
void map(cl::CommandQueue &q, bool blocking=true)
Enqueue a map operation of the allocated buffer on the given queue.
Copyright (c) 2017-2021 Arm Limited.
const cl::Buffer & cl_buffer() const override
Interface to be implemented by the child class to return a reference to the OpenCL buffer containing ...
void free() override
Interface to be implemented by the child class to free the allocated cl buffer.
void unmap()
Enqueue an unmap operation of the allocated and mapped buffer.
void map(bool blocking=true)
Enqueue a map operation of the allocated buffer.
OpenCL implementation of HOG data-object.
Wrapper to configure the Khronos OpenCL C++ header.
CLHOG()
Default constructor.
const HOGInfo * info() const override
Interface to be implemented by the child class to return the HOG's metadata.
void unmap(cl::CommandQueue &q)
Enqueue an unmap operation of the allocated and mapped buffer on the given queue. ...
Interface for OpenCL HOG data-object.