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

Change-Id: I0720758144e89adaa43bcbcc6262dbb16cd4e2be
此提交包含在:
Mirza Halilčević
2023-12-28 19:32:13 +01:00
提交者 Rakesh Roy
父節點 e0c3f64e78
當前提交 66e2885107
共有 8 個檔案被更改,包括 249 行新增 和 23 行删除
+1 -1
查看文件
@@ -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;