cubecl_hip_sys

Function hipDeviceDisablePeerAccess

Source
pub unsafe extern "C" fn hipDeviceDisablePeerAccess(
    peerDeviceId: c_int,
) -> hipError_t
Expand description

@brief Disable direct access from current device’s virtual address space to memory allocations physically located on a peer device.

Returns hipErrorPeerAccessNotEnabled if direct access to memory on peerDevice has not yet been enabled from the current device.

@param [in] peerDeviceId Peer device to disable direct access to

@returns #hipSuccess, #hipErrorPeerAccessNotEnabled