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
2021-03-09 12:00:16 -05:00
提交者 Tao Sang
父節點 82e40a6438
當前提交 629ea5fe19
共有 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.