Changed how hipEvent_t is typedefed internall

- Mapped hipEvent_t directly to ihipEvent_t* instead of a handle

Change-Id: I5a8bcca0ef962932e0738c03eb1fc914d23022ae
This commit is contained in:
Aditya Atluri
2016-08-25 14:34:41 -05:00
parent 79e88a6af6
commit 842553a6e1
3 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -1493,7 +1493,7 @@ const char *ihipErrorString(hipError_t hip_error)
void ihipSetTs(hipEvent_t e)
{
ihipEvent_t *eh = e._handle;
ihipEvent_t *eh = e;
if (eh->_state == hipEventStatusRecorded) {
// already recorded, done:
return;