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

Change-Id: I0720758144e89adaa43bcbcc6262dbb16cd4e2be


[ROCm/hip-tests commit: 66e2885107]
This commit is contained in:
Mirza Halilčević
2023-12-28 19:32:13 +01:00
committed by Rakesh Roy
parent 594d42670b
commit 3f4bbb3627
8 changed files with 249 additions and 23 deletions
+1 -1
View File
@@ -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;