adding activity prof layer

[ROCm/hip commit: b8b1637ef7]
This commit is contained in:
Evgeny
2018-08-07 07:32:27 -05:00
committed by root
parent c7e403e4d4
commit 0a58dc9b7b
15 changed files with 2866 additions and 127 deletions
+2 -2
View 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);