Change ihipDeviceSetState,ihipDevice* so it doesn't log error
Cleans up debug trace.
[ROCm/hip commit: 8209320ef0]
Ta zmiana jest zawarta w:
%! (template.HTML=
Ben Sander)złożyło 2017-01-19 23:55:24 -06:00
1 rodzic
584a4a10c1
złożenie
b6c7c5bd8b
Plik 1 zmieniony
+3
-3
@@ -189,7 +189,7 @@ hipError_t ihipDeviceSetState(void)
|
||||
e = hipSuccess;
|
||||
}
|
||||
|
||||
return ihipLogStatus(e);
|
||||
return e;
|
||||
}
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@ hipError_t ihipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device
|
||||
} else {
|
||||
e = hipErrorInvalidDevice;
|
||||
}
|
||||
return ihipLogStatus(e);
|
||||
return e;
|
||||
}
|
||||
|
||||
hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
|
||||
@@ -287,7 +287,7 @@ hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, int device)
|
||||
e = hipErrorInvalidDevice;
|
||||
}
|
||||
|
||||
return ihipLogStatus(e);
|
||||
return e;
|
||||
}
|
||||
|
||||
hipError_t hipGetDeviceProperties(hipDeviceProp_t* props, int device)
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika