cuda.bindings._v2.driver.logical_endpoint_import#
- cuda.bindings._v2.driver.logical_endpoint_import(uint32_t le_id, handle, int handle_type)#
Imports a logical endpoint from the given IPC handle and associates it with a logical endpoint id.
Imports a logical endpoint from the given IPC
handleand associates it with the logical endpoint id specified byle_id. If the current process cannot support the logical endpoint described by the shareable handle, this API will error asCUDA_ERROR_NOT_SUPPORTED. Ifhandleis of typeCU_LOGICAL_ENDPOINT_IPC_HANDLE_TYPE_FABRICand the importer process does not have access permissions, thenCUDA_ERROR_NOT_PERMITTEDwill be returned.- Parameters:
le_id (uint32_t) – Logical endpoint id that will be used to access the exported logical endpoint.
handle (bytes) – Shareable handle representing the logical endpoint that is to be imported.
handle_type (LogicalEndpointIpcHandleType) – Handle type of the exported handle.
See also
cuLogicalEndpointImport