SWDEV-264166 - Remove gcnArch
Change-Id: Ief4bdbdd5373adb73a291633067c9a8e11f05a32
[ROCm/clr commit: ab303e6440]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
f4642fc0d4
tiomantas
d12900e000
2 comhad athraithe
+2
-3
Níor tháinig aon chomhaid le do chuardach
@@ -151,7 +151,8 @@ hipError_t hipDeviceGetP2PAttribute(int* value, hipDeviceP2PAttr attr,
|
||||
// Linear layout access is supported if P2P is enabled
|
||||
// Opaque Images are supported only on homogeneous systems
|
||||
// Might have more conditions to check, in future.
|
||||
if (srcDeviceProp.gcnArch == dstDeviceProp.gcnArch) {
|
||||
if (0 == strncmp(srcDeviceProp.gcnArchName, dstDeviceProp.gcnArchName,
|
||||
sizeof(srcDeviceProp.gcnArchName))) {
|
||||
HIP_RETURN_ONFAIL(canAccessPeer(value, srcDevice, dstDevice));
|
||||
} else {
|
||||
*value = 0;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir