adding activity prof layer

[ROCm/clr commit: 084a68be63]
This commit is contained in:
Evgeny authored and root committed 2018-11-13 15:33:26 +00:00
1 parent 553721ef07
commit 7519b3f75e
15 files changed
+2866 -127

No files matched your search

+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);