7.14. CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1 Struct Reference

[Data types used by CUDA driver]

External semaphore wait parameters

Public Variables

CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::@22::@23  fence
unsigned int  flags
unsigned long long  key
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::@22::@25  keyedMutex
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::@22::@24  nvSciSync
unsigned int  timeoutMs
unsigned long long  value

Variables

CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::@22::@23 CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::fence [inherited]

Parameters for fence objects

unsigned int CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::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_v1::key [inherited]

Value of key to acquire the mutex with

CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::@22::@25 CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::keyedMutex [inherited]

Parameters for keyed mutex objects

CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::@22::@24 CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::nvSciSync [inherited]

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

unsigned int CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::timeoutMs [inherited]

Timeout in milliseconds to wait to acquire the mutex

unsigned long long CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_v1::value [inherited]

Value of fence to be waited on