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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user