adding activity prof layer

[ROCm/hip commit: b8b1637ef7]
This commit is contained in:
Evgeny
2018-08-07 07:32:27 -05:00
committato da root
parent c7e403e4d4
commit 0a58dc9b7b
15 ha cambiato i file con 2866 aggiunte e 127 eliminazioni
+2 -2
Vedi File
@@ -30,7 +30,7 @@ THE SOFTWARE.
//---
hipError_t hipGetLastError() {
HIP_INIT_API();
HIP_INIT_CB_API(hipGetLastError);
// Return last error, but then reset the state:
hipError_t e = ihipLogStatus(tls_lastHipError);
@@ -39,7 +39,7 @@ hipError_t hipGetLastError() {
}
hipError_t hipPeekAtLastError() {
HIP_INIT_API();
HIP_INIT_CB_API(hipPeekAtLastError);
// peek at last error, but don't reset it.
return ihipLogStatus(tls_lastHipError);