cuda.bindings._v2.driver.mem_export_to_shareable_handle#
- cuda.bindings._v2.driver.mem_export_to_shareable_handle(
- uint64_t handle,
- int handle_type,
- unsigned long long flags,
Export an allocation to an OS-specific shareable handle.
- Parameters:
handle (uint64_t) – Memory allocation handle to export.
handle_type (int) – A
MemAllocationHandleTypevalue.flags (unsigned long long) – Reserved, must be zero.
- Returns:
A file descriptor or OS handle as an
int(aMemFabricHandle_v1forFABRIC).- Return type:
See also
cuMemExportToShareableHandle