7.17. CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1 Struct Reference

[Data types used by CUDA driver]

External memory handle descriptor

Public Variables

int  fd
unsigned int  flags
void * handle
const void * name
const void * nvSciBufObject
unsigned long long  size
CUexternalMemoryHandleType type
CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::@15::@16  win32

Variables

int CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::fd [inherited]

File descriptor referencing the memory object. Valid when type is CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD

unsigned int CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::flags [inherited]

Flags must either be zero or CUDA_EXTERNAL_MEMORY_DEDICATED

void * CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::handle [inherited]

Valid NT handle. Must be NULL if 'name' is non-NULL

const void * CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::name [inherited]

Name of a valid memory object. Must be NULL if 'handle' is non-NULL.

const void * CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::nvSciBufObject [inherited]

A handle representing an NvSciBuf Object. Valid when type is CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF

unsigned long long CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::size [inherited]

Size of the memory allocation

CUexternalMemoryHandleTypeCUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::type [inherited]

Type of the handle

CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::@15::@16 CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1::win32 [inherited]