VisionCpp
0.0.1
|
This is used to update the Vision Memory with new value update sycl buffer at the moment we use ptr.reset() because it was faster than getting the host pointer and updating it in the host side. More...
#include <memory.hpp>
Static Public Member Functions | |
static void | buffer_update (std::shared_ptr< VisionMem > &ptr, Scalar *dt) |
function buffer_update More... | |
This is used to update the Vision Memory with new value update sycl buffer at the moment we use ptr.reset() because it was faster than getting the host pointer and updating it in the host side.
template parameters:
LeafType | : is the memory type |
Rows | is the row size of the buffer |
Cols | is the column size of the buffer |
ElemType | is the type of element in the buffer |
Scalar | is the type of each channel of the element |
VisionMem | is the created SyclMem |
Definition at line 486 of file memory.hpp.
|
inlinestatic |
function buffer_update
this function is used to update the sycl buffer with a new value parameters:
ptr | : is the shared_ptr containing the SyclMem |
dt | is the pointer containing the new value for the buffer |
Definition at line 493 of file memory.hpp.