Win32 handle referencing the semaphore object. Valid when
type is one of the following:
- ::cudaExternalSemaphoreHandleTypeOpaqueWin32
- ::cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt
- ::cudaExternalSemaphoreHandleTypeD3D12Fence
Exactly one of 'handle' and 'name' must be non-NULL. If
type is ::cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt
then 'name' must be NULL.
Win32 handle referencing the semaphore object. Valid when type is one of the following: - ::cudaExternalSemaphoreHandleTypeOpaqueWin32 - ::cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt - ::cudaExternalSemaphoreHandleTypeD3D12Fence Exactly one of 'handle' and 'name' must be non-NULL. If type is ::cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt then 'name' must be NULL.