7.43. CUDA_SEMAPHORE_CREATE_DESC_v1

Defined in /dvs/p4/build/sw/gpgpu/bin/x86_64_Linux_release/stub/cuda.h

struct CUDA_SEMAPHORE_CREATE_DESC_v1

Public Members

CUsemaphoreType semaphoreType

Type of the semaphore.

CUsemaphoreHandleType handleType

If intending to export the semaphore being created, the intended OS handle type is indicated.

When not used, leave it as 0.

cuuint64_t initialValue

Initial payload value if creating a timeline semaphore.

Otherwise ignored.

struct CUDA_SEMAPHORE_CREATE_DESC_v1::[anonymous]::[anonymous] timeline
cuuint32_t reserved[8]
struct CUDA_SEMAPHORE_CREATE_DESC_v1::[anonymous]::[anonymous] reserved
union CUDA_SEMAPHORE_CREATE_DESC_v1::[anonymous] options
unsigned int flags

Flags reserved for the future.

Must be zero.