VisionCpp
0.0.1
|
This class is used to instantiate the sycl memory based on the memory types. More...
#include <memory.hpp>
Static Public Member Functions | |
static void | create_buffer (std::shared_ptr< VisionMem > &ptr, Scalar *dt, RNG rng) |
function create_buffer More... | |
static void | create_buffer (std::shared_ptr< VisionMem > &ptr, RNG rng) |
function create_buffer More... | |
This class is used to instantiate the sycl memory based on the memory types.
template parameters:
LeafType | determines the memory type |
ElemType | : determines the type of the element in each memory |
Scalar | : determines the type of each channel of each element |
VisionMem | represent the type of the memory created by using SyclMem |
RNG | : the sycl range type for creating memory |
Definition at line 328 of file memory.hpp.
|
inlinestatic |
function create_buffer
This function is used to create a device only buffer when there is no host pointer allocated for synchronization. parameters:
ptr | : shared_ptr containing the VisionMem |
rng | : the sycl range for creating buffer |
Definition at line 350 of file memory.hpp.
|
inlinestatic |
function create_buffer
This function is used to create a sycl buffer when the host memory allocated for synchronization. parameters:
ptr | : shared_ptr containing the VisionMem |
dt | : the input pointer for creating buffer |
rng | : the sycl range for creating buffer |
Definition at line 337 of file memory.hpp.
Referenced by visioncpp::internal::create_sycl_buffer().