Jetson Inference
DNN Vision Library
cudaMappedMemory.h File Reference
#include "cudaUtility.h"
#include "imageFormat.h"
#include "logging.h"

Go to the source code of this file.

Functions

bool cudaAllocMapped (void **cpuPtr, void **gpuPtr, size_t size)
 Allocate ZeroCopy mapped memory, shared between CUDA and CPU. More...
 
bool cudaAllocMapped (void **ptr, size_t size)
 Allocate ZeroCopy mapped memory, shared between CUDA and CPU. More...
 
bool cudaAllocMapped (void **ptr, size_t width, size_t height, imageFormat format)
 Allocate ZeroCopy mapped memory, shared between CUDA and CPU. More...
 
bool cudaAllocMapped (void **ptr, const int2 &dims, imageFormat format)
 Allocate ZeroCopy mapped memory, shared between CUDA and CPU. More...
 
template<typename T >
bool cudaAllocMapped (T **ptr, size_t width, size_t height)
 Allocate ZeroCopy mapped memory, shared between CUDA and CPU. More...
 
template<typename T >
bool cudaAllocMapped (T **ptr, const int2 &dims)
 Allocate ZeroCopy mapped memory, shared between CUDA and CPU. More...