Code cleanup, use camelCase where appropriate.

Change-Id: I5a7ec50df8bbb3e7a3b313c0b12e2dd55ae4a09c
This commit is contained in:
Ben Sander
2016-08-08 14:54:38 -05:00
parent b1d8f9d00d
commit ed0a2c02fe
5 changed files with 143 additions and 148 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ hipError_t ihipEventCreate(hipEvent_t* event, unsigned flags)
eh->_stream = NULL;
eh->_flags = flags;
eh->_timestamp = 0;
eh->_copy_seq_id = 0;
eh->_copySeqId = 0;
} else {
e = hipErrorInvalidValue;
}
@@ -91,7 +91,7 @@ hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream)
eh->_timestamp = 0;
eh->_marker = stream->_av.create_marker();
eh->_copy_seq_id = stream->locked_lastCopySeqId();
eh->_copySeqId = stream->locked_lastCopySeqId();
return ihipLogStatus(hipSuccess);
}
@@ -135,7 +135,7 @@ hipError_t hipEventSynchronize(hipEvent_t event)
return ihipLogStatus(hipSuccess);
} else {
eh->_marker.wait((eh->_flags & hipEventBlockingSync) ? hc::hcWaitModeBlocked : hc::hcWaitModeActive);
eh->_stream->locked_reclaimSignals(eh->_copy_seq_id);
eh->_stream->locked_reclaimSignals(eh->_copySeqId);
return ihipLogStatus(hipSuccess);
}