NVIDIA DeepStream SDK API Reference

8.0 Release
memory.hpp File Reference

Go to the source code of this file.

Data Structures

class  Memory< T >
 

Macros

#define checkRuntime(call)   check_runtime(call, #call, __LINE__, __FILE__)
 
#define CUOSD_PRINT_E(f_, ...)   fprintf(stderr, "[cuOSD Error] at %s:%d : " f_, (const char*)__FILE__, __LINE__, ##__VA_ARGS__)
 
#define CUOSD_PRINT_W(f_, ...)   printf("[cuOSD Warning] at %s:%d : " f_, (const char*)__FILE__, __LINE__, ##__VA_ARGS__)
 

Functions

static bool check_runtime (cudaError_t e, const char *call, int line, const char *file)
 

Macro Definition Documentation

◆ checkRuntime

#define checkRuntime (   call)    check_runtime(call, #call, __LINE__, __FILE__)

Definition at line 19 of file memory.hpp.

◆ CUOSD_PRINT_E

#define CUOSD_PRINT_E (   f_,
  ... 
)    fprintf(stderr, "[cuOSD Error] at %s:%d : " f_, (const char*)__FILE__, __LINE__, ##__VA_ARGS__)

Definition at line 21 of file memory.hpp.

◆ CUOSD_PRINT_W

#define CUOSD_PRINT_W (   f_,
  ... 
)    printf("[cuOSD Warning] at %s:%d : " f_, (const char*)__FILE__, __LINE__, ##__VA_ARGS__)

Definition at line 24 of file memory.hpp.

Function Documentation

◆ check_runtime()

static bool check_runtime ( cudaError_t  e,
const char *  call,
int  line,
const char *  file 
)
inlinestatic

Definition at line 27 of file memory.hpp.