pub unsafe extern "C" fn hipDeviceGetP2PAttribute(
value: *mut c_int,
attr: hipDeviceP2PAttr,
srcDevice: c_int,
dstDevice: c_int,
) -> hipError_t
Expand description
@brief Returns a value for attribute of link between two devices @param [out] value Pointer of the value for the attrubute @param [in] attr enum of hipDeviceP2PAttr to query @param [in] srcDevice The source device of the link @param [in] dstDevice The destination device of the link
@returns #hipSuccess, #hipErrorInvalidDevice