adding activity prof layer

[ROCm/clr commit: 084a68be63]
This commit is contained in:
Evgeny
2018-08-07 07:32:27 -05:00
committed by root
parent 553721ef07
commit 7519b3f75e
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);