ROCr changes to enable small BAR P2P over xGMI
Change-Id: I6aaa3fe2565cdf7e15d58a7484d6bd5916ffff64
This commit is contained in:
@@ -120,6 +120,12 @@ void RegisterLinkInfo(uint32_t node_id, uint32_t num_link) {
|
||||
link_info.link_type = HSA_AMD_LINK_INFO_TYPE_INFINBAND;
|
||||
debug_print("IOLINK is missing atomic and coherency defaults.\n");
|
||||
break;
|
||||
case HSA_IOLINK_TYPE_XGMI:
|
||||
link_info.link_type = HSA_AMD_LINK_INFO_TYPE_XGMI;
|
||||
link_info.atomic_support_32bit = true;
|
||||
link_info.atomic_support_64bit = true;
|
||||
link_info.coherent_support = true;
|
||||
break;
|
||||
default:
|
||||
debug_print("Unrecognized IOLINK type.\n");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user