6.11. CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS Struct Reference

[Data types used by CUDA driver]

External semaphore wait parameters

Public Variables

CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::@19::@20  fence
unsigned int  flags
unsigned long long  key
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::@19::@22  keyedMutex
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::@19::@21  nvSciSync
unsigned int  timeoutMs
unsigned long long  value

Variables

CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::@19::@20 CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::fence [inherited]

Parameters for fence objects

unsigned int CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::flags [inherited]

Only when CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS is used to wait on a CUexternalSemaphore of type CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC, the valid flag is CUDA_EXTERNAL_SEMAPHORE_WAIT_SKIP_NVSCIBUF_MEMSYNC which indicates that while waiting for the CUexternalSemaphore, no memory synchronization operations should be performed for any external memory object imported as CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF. For all other types of CUexternalSemaphore, flags must be zero.

unsigned long long CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::key [inherited]

Value of key to acquire the mutex with

CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::@19::@22 CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::keyedMutex [inherited]

Parameters for keyed mutex objects

CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::@19::@21 CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::nvSciSync [inherited]

Pointer to NvSciSyncFence. Valid if CUexternalSemaphoreHandleType is of type CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC.

unsigned int CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::timeoutMs [inherited]

Timeout in milliseconds to wait to acquire the mutex

unsigned long long CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS::value [inherited]

Value of fence to be waited on