adding activity prof layer

Cette révision appartient à :
Evgeny
2018-08-07 07:32:27 -05:00
révisé par root
Parent de54e92da2
révision b8b1637ef7
15 fichiers modifiés avec 2866 ajouts et 127 suppressions
+2 -2
Voir le fichier
@@ -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);