EXSWHTEC-382 - Implement tests for Launch API functions #454
Change-Id: I0720758144e89adaa43bcbcc6262dbb16cd4e2be
[ROCm/hip-tests commit: 66e2885107]
This commit is contained in:
committed by
Rakesh Roy
parent
594d42670b
commit
3f4bbb3627
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user