SWDEV-273943 - Enable runtimeApi.event dtest

Add device_id_ in hip::event to match cuda behaviour in
hipEventQuery() and hipEventRecord().
Enable hipEventElapsedTime test on AMD platform.
Workarround sporadic crash of hipEventIpc test due to
some bug of event ipc.
Add missing hipEventDestroy() in some event tests.
Fix some logic code errors.
Fix typo in comment.

Change-Id: I9ec74c475161b3e31df48d193449023e921f2924
이 커밋은 다음에 포함됨:
Tao Sang 작성하고 Tao Sang가 2021-03-16 17:12:08 -04:00를 커밋함
1 부모 e967adbdaf
커밋 38b0c952a6
9 파일이 변경됨
+69 -14

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -147,7 +147,7 @@ enum hipLimit_t {
/// obtain more precise timings of commands between events. The flag is a no-op on
/// CUDA platforms.
#define hipEventReleaseToSystem \
0x80000000 /// < Use a system-scope release that when recording this event. This flag is
0x80000000 /// < Use a system-scope release when recording this event. This flag is
/// useful to make non-coherent host memory visible to the host. The flag is a
/// no-op on CUDA platforms.