![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include "cuda_wrapper.h"

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 |
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.
| #define cudaError_t int |
Definition at line 41 of file cuda_runtime.h.
Referenced by LDGM_session_gpu::~LDGM_session_gpu(), LDGM_session_gpu::decode_frame(), LDGM_session_gpu::encode(), gpu_decode_upgrade(), and map_error_string().
| #define cudaFree cuda_wrapper_free |
Definition at line 48 of file cuda_runtime.h.
Referenced by LDGM_session_gpu::~LDGM_session_gpu(), check_in_format(), cuda_wrapper_free(), LDGM_session_gpu::encode(), main(), and vidcap_gpustitch_done().
| #define cudaFreeHost cuda_wrapper_free_host |
Definition at line 42 of file cuda_runtime.h.
Referenced by LDGM_session_gpu::~LDGM_session_gpu(), LDGM_session_gpu::alloc_buf(), cuda_wrapper_free_host(), main(), and result_data_delete().
| #define cudaGetErrorString cuda_wrapper_get_error_string |
Definition at line 45 of file cuda_runtime.h.
Referenced by LDGM_session_gpu::~LDGM_session_gpu(), cuda_wrapper_last_error_string(), cuda_wrapper_print_devices_info(), LDGM_session_gpu::decode_frame(), LDGM_session_gpu::encode(), gpu_decode_upgrade(), main(), and map_error_string().
| #define cudaGetLastError cuda_wrapper_get_last_error |
Definition at line 46 of file cuda_runtime.h.
Referenced by cuda_wrapper_get_last_error(), cuda_wrapper_last_error_string(), cuda_wrapper_print_devices_info(), gpu_decode_upgrade(), main(), postprocess_rg48_to_r12l(), and preprocess_r12l_to_rg48().
| #define cudaHostAlloc cuda_wrapper_host_alloc |
Definition at line 50 of file cuda_runtime.h.
Referenced by LDGM_session_gpu::alloc_buf(), cuda_wrapper_host_alloc(), and LDGM_session_gpu::decode_frame().
| #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().
| #define cudaMalloc cuda_wrapper_malloc |
Definition at line 43 of file cuda_runtime.h.
Referenced by allocate_result_frame(), check_in_format(), cuda_wrapper_malloc(), LDGM_session_gpu::decode_frame(), LDGM_session_gpu::encode(), grab_worker(), and main().
| #define cudaMemcpy cuda_wrapper_memcpy |
Definition at line 44 of file cuda_runtime.h.
Referenced by cuda_wrapper_memcpy(), LDGM_session_gpu::decode_frame(), LDGM_session_gpu::encode(), gpu_decode_upgrade(), gpu_encode_upgrade(), and main().
| #define cudaMemcpyHostToDevice CUDA_WRAPPER_MEMCPY_HOST_TO_DEVICE |
Definition at line 51 of file cuda_runtime.h.
Referenced by LDGM_session_gpu::decode_frame(), LDGM_session_gpu::encode(), gpu_decode_upgrade(), main(), map_cuda_memcpy_kind(), and upload_to_cuda_buf().
| #define cudaSuccess CUDA_WRAPPER_SUCCESS |
Definition at line 47 of file cuda_runtime.h.
Referenced by LDGM_session_gpu::~LDGM_session_gpu(), allocate_result_frame(), cuda_wrapper_device_reset(), cuda_wrapper_print_devices_info(), cuda_yuv422_to_yuv444(), LDGM_session_gpu::decode_frame(), download_stitched(), dxt_launch(), LDGM_session_gpu::encode(), gpu_decode_upgrade(), main(), stitch(), and upload_to_cuda_buf().