Add asicRevision

Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3


[ROCm/clr commit: 8933c078f6]
This commit is contained in:
Jason Tang
2020-06-12 17:05:16 -04:00
committed by Jason Tang
orang tua 315cd2f959
melakukan ab081f39cc
5 mengubah file dengan 9 tambahan dan 1 penghapusan
@@ -296,6 +296,9 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
case hipDeviceAttributeCooperativeMultiDeviceUnmatchedSharedMem:
*pi = prop.cooperativeMultiDeviceUnmatchedSharedMem;
break;
case hipDeviceAttributeAsicRevision:
*pi = prop.asicRevision;
break;
default:
HIP_RETURN(hipErrorInvalidValue);
}