22 #include "fastdeploy/utils/utils.h" 26 class FASTDEPLOY_DECL FDHostAllocator {
28 bool operator()(
void** ptr,
size_t size)
const;
31 class FASTDEPLOY_DECL FDHostFree {
33 void operator()(
void* ptr)
const;
38 class FASTDEPLOY_DECL FDDeviceAllocator {
40 bool operator()(
void** ptr,
size_t size)
const;
43 class FASTDEPLOY_DECL FDDeviceFree {
45 void operator()(
void* ptr)
const;
48 class FASTDEPLOY_DECL FDDeviceHostAllocator {
50 bool operator()(
void** ptr,
size_t size)
const;
53 class FASTDEPLOY_DECL FDDeviceHostFree {
55 void operator()(
void* ptr)
const;
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16