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

Change-Id: I26b0e1875c19d7c636ffcc18f1738926572ded81
Este commit está contenido en:
pensun
2016-08-16 15:28:42 -05:00
padre b8597512ca
commit e70cfd3582
Se han modificado 2 ficheros con 29 adiciones y 5 borrados
+2 -3
Ver fichero
@@ -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);
}