add occupancy support for NV path; fix hipPeekAtLastError on HCC path

Change-Id: I26b0e1875c19d7c636ffcc18f1738926572ded81


[ROCm/clr commit: e70cfd3582]
This commit is contained in:
pensun
2016-08-16 15:28:42 -05:00
parent 5513a08601
commit 4353cefd6e
2 changed files with 29 additions and 5 deletions
+2 -3
View File
@@ -40,12 +40,11 @@ hipError_t hipGetLastError()
//---
hipError_t hipPeakAtLastError()
hipError_t hipPeekAtLastError()
{
HIP_INIT_API();
// peak at last error, but don't reset it.
// peek at last error, but don't reset it.
return ihipLogStatus(tls_lastHipError);
}