NVIDIA DeepStream SDK API Reference

8.0 Release
ds3d::GpuCudaMemBuf Class Reference

Detailed Description

Inheritance diagram for ds3d::GpuCudaMemBuf:
Collaboration diagram for ds3d::GpuCudaMemBuf:

Public Member Functions

 GpuCudaMemBuf ()
 
 ~GpuCudaMemBuf ()
 
 GpuCudaMemBuf ()
 
 ~GpuCudaMemBuf ()
 

Static Public Member Functions

static std::unique_ptr< GpuCudaMemBufCreateBuf (size_t size, int gpuId)
 
static std::unique_ptr< GpuCudaMemBufCreateBuf (size_t size, int gpuId)
 

Data Fields

void * data = nullptr
 
size_t byteSize = 0
 
int devId = 0
 
MemType type = MemType::kCpu
 

Protected Member Functions

 DS3D_DISABLE_CLASS_COPY (MemData)
 
 DS3D_DISABLE_CLASS_COPY (MemData)
 

Constructor & Destructor Documentation

◆ GpuCudaMemBuf() [1/2]

ds3d::GpuCudaMemBuf::GpuCudaMemBuf ( )
inline

◆ ~GpuCudaMemBuf() [1/2]

ds3d::GpuCudaMemBuf::~GpuCudaMemBuf ( )
inline

◆ GpuCudaMemBuf() [2/2]

ds3d::GpuCudaMemBuf::GpuCudaMemBuf ( )
inline

◆ ~GpuCudaMemBuf() [2/2]

ds3d::GpuCudaMemBuf::~GpuCudaMemBuf ( )
inline

Member Function Documentation

◆ CreateBuf() [1/2]

static std::unique_ptr<GpuCudaMemBuf> ds3d::GpuCudaMemBuf::CreateBuf ( size_t  size,
int  gpuId 
)
inlinestatic

◆ CreateBuf() [2/2]

static std::unique_ptr<GpuCudaMemBuf> ds3d::GpuCudaMemBuf::CreateBuf ( size_t  size,
int  gpuId 
)
inlinestatic

◆ DS3D_DISABLE_CLASS_COPY() [1/2]

ds3d::MemData::DS3D_DISABLE_CLASS_COPY ( MemData  )
protectedinherited

◆ DS3D_DISABLE_CLASS_COPY() [2/2]

ds3d::MemData::DS3D_DISABLE_CLASS_COPY ( MemData  )
protectedinherited

Field Documentation

◆ byteSize

size_t ds3d::MemData::byteSize = 0
inherited

Definition at line 23 of file sources/includes/ds3d/common/helper/memdata.h.

Referenced by ~GpuCudaMemBuf().

◆ data

void * ds3d::MemData::data = nullptr
inherited

◆ devId

int ds3d::MemData::devId = 0
inherited

Definition at line 24 of file sources/includes/ds3d/common/helper/memdata.h.

Referenced by ~GpuCudaMemBuf().

◆ type

MemType ds3d::MemData::type = MemType::kCpu
inherited

The documentation for this class was generated from the following file: