UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
cuda_runtime.h File Reference
#include "cuda_wrapper.h"
Include dependency graph for cuda_runtime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define cudaError_t   int
 
#define cudaFree   cuda_wrapper_free
 
#define cudaFreeHost   cuda_wrapper_free_host
 
#define cudaGetErrorString   cuda_wrapper_get_error_string
 
#define cudaGetLastError   cuda_wrapper_get_last_error
 
#define cudaHostAlloc   cuda_wrapper_host_alloc
 
#define cudaHostAllocDefault   0
 
#define cudaMalloc   cuda_wrapper_malloc
 
#define cudaMemcpy   cuda_wrapper_memcpy
 
#define cudaMemcpyHostToDevice   CUDA_WRAPPER_MEMCPY_HOST_TO_DEVICE
 
#define cudaSuccess   CUDA_WRAPPER_SUCCESS
 

Detailed Description

Author
Martin Pulec pulec.nosp@m.@ces.nosp@m.net.c.nosp@m.z

Replaces some CUDA functions with wrapped variant for modules, that doesn't use cuda_wrapper directly. Currently used by LDGM, which is outside UG so we don't make it dependent on UltraGrid codebase).

Definition in file cuda_runtime.h.

Macro Definition Documentation

◆ cudaError_t

◆ cudaFree

◆ cudaFreeHost

◆ cudaGetErrorString

◆ cudaGetLastError

◆ cudaHostAlloc

◆ cudaHostAllocDefault

#define cudaHostAllocDefault   0

Definition at line 49 of file cuda_runtime.h.

Referenced by LDGM_session_gpu::alloc_buf(), and LDGM_session_gpu::decode_frame().

◆ cudaMalloc

◆ cudaMemcpy

◆ cudaMemcpyHostToDevice

◆ cudaSuccess