P4 to Git Change 1982034 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/12 19:08:13
SWDEV-199606 - [HIP] hipStreamQuery issue
Don't test against CL_COMMAND_MARKER but 0 instead (user visible=false)
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#22 edit
[ROCm/clr commit: 1ce84c8b6e]
这个提交包含在:
1 父节点
352f92ab0e
当前提交
11bc45adbd
3 个文件已更改
+4
-5
没有与搜索条件相匹配的文件
@@ -244,8 +244,7 @@ hipError_t hipStreamQuery(hipStream_t stream) {
|
||||
}
|
||||
|
||||
amd::Event& event = command->event();
|
||||
|
||||
if (command->type() != CL_COMMAND_MARKER) {
|
||||
if (command->type() != 0) {
|
||||
event.notifyCmdQueue();
|
||||
}
|
||||
HIP_RETURN((command->status() == CL_COMPLETE) ? hipSuccess : hipErrorNotReady);
|
||||
|
||||
在新工单中引用
屏蔽一个用户