Struct rcublas_sys::cudaExternalMemoryHandleDesc__bindgen_ty_1__bindgen_ty_1 [−][src]
#[repr(C)]pub struct cudaExternalMemoryHandleDesc__bindgen_ty_1__bindgen_ty_1 {
pub handle: *mut c_void,
pub name: *const c_void,
}
Expand description
Win32 handle referencing the semaphore object. Valid when type is one of the following:
- ::cudaExternalMemoryHandleTypeOpaqueWin32
- ::cudaExternalMemoryHandleTypeOpaqueWin32Kmt
- ::cudaExternalMemoryHandleTypeD3D12Heap
- ::cudaExternalMemoryHandleTypeD3D12Resource
- ::cudaExternalMemoryHandleTypeD3D11Resource
- ::cudaExternalMemoryHandleTypeD3D11ResourceKmt Exactly one of ‘handle’ and ‘name’ must be non-NULL. If type is one of the following: ::cudaExternalMemoryHandleTypeOpaqueWin32Kmt ::cudaExternalMemoryHandleTypeD3D11ResourceKmt then ‘name’ must be NULL.
Fields
handle: *mut c_void
Valid NT handle. Must be NULL if ‘name’ is non-NULL
name: *const c_void
Name of a valid memory object. Must be NULL if ‘handle’ is non-NULL.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more