7.20. CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1 Struct Reference

[Data types used by CUDA driver]

External semaphore handle descriptor

Public Variables

int  fd
unsigned int  flags
void * handle
const void * name
const void * nvSciSyncObj
CUexternalSemaphoreHandleType type
CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::@20::@21  win32

Variables

int CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::fd [inherited]

File descriptor referencing the semaphore object. Valid when type is one of the following:

unsigned int CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::flags [inherited]

Flags reserved for the future. Must be zero.

void * CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::handle [inherited]

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

const void * CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::name [inherited]

Name of a valid synchronization primitive. Must be NULL if 'handle' is non-NULL.

const void * CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::nvSciSyncObj [inherited]

Valid NvSciSyncObj. Must be non NULL

CUexternalSemaphoreHandleTypeCUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::type [inherited]

Type of the handle

CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::@20::@21 CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_v1::win32 [inherited]