14 #ifndef __IPSDKBASEIMAGETOOLS_CUDAUTILS_H__ 15 #define __IPSDKBASEIMAGETOOLS_CUDAUTILS_H__ 89 #endif // __IPSDKBASEIMAGETOOLS_CUDAUTILS_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
IPSDKBASEIMAGETOOLS_API const T ** extractBufferDataCollToGpu(const CudaImage &cudaImg)
Exports the std::vector created by extractBufferDataColl to gpu.
IPSDKBASEIMAGETOOLS_API void freeBufferDataColl(const T **pDeviceData)
Free the vector allocated by extractBufferDataColl.
IPSDKBASEIMAGETOOLS_API const T * extractBufferData(const CudaImage &cudaImg, const ipUInt64 deviceIdx)
Extracts a buffer data from a CudaImage as a const T* data.
Definition of import/export macro for library.
IPSDKBASEIMAGETOOLS_API const std::vector< const T * > extractBufferDataColl(const CudaImage &cudaImg)
Creates a std::vector containing the buffers of all the plan of an image.
Definition: CudaImage.h:28
#define IPSDKBASEIMAGETOOLS_API
Import/Export macro for library IPSDKBaseImageTools.
Definition: IPSDKBaseImageToolsExports.h:25
Predefined type for image management.