EXSWHTEC-382 - Implement tests for Launch API functions #454

Change-Id: I0720758144e89adaa43bcbcc6262dbb16cd4e2be
Cette révision appartient à :
Mirza Halilčević
2023-12-28 19:32:13 +01:00
révisé par Rakesh Roy
Parent e0c3f64e78
révision 66e2885107
8 fichiers modifiés avec 249 ajouts et 23 suppressions
+1 -1
Voir le fichier
@@ -170,7 +170,7 @@ inline bool DeviceAttributesSupport(const int device, Attributes... attributes)
return (... && DeviceAttributeSupport(device, attributes));
}
inline int GetDeviceAttribute(int device, const hipDeviceAttribute_t attr) {
inline int GetDeviceAttribute(const hipDeviceAttribute_t attr, int device) {
int value = 0;
HIP_CHECK(hipDeviceGetAttribute(&value, attr, device));
return value;