Add hipStreamSynchronize to hipModuleLoadDataMultThreadOnMultGPU test
hipStreamDestroy() by definition doesn't guarantee waiting for all stream operations. Change-Id: Ibfd21c48d71741ebcbcb9898c8b5ac235bdc570b
这个提交包含在:
1 父节点
95bef523fe
当前提交
f2c2fd3d09
1 个文件已更改
+2
@@ -94,6 +94,8 @@ void run(const std::vector<char>& buffer, int deviceNo) {
|
||||
HIP_LAUNCH_PARAM_END};
|
||||
HIPCHECK(hipModuleLaunchKernel(Function, 1, 1, 1, LEN, 1, 1, 0, stream, NULL, (void**)&config));
|
||||
|
||||
HIPCHECK(hipStreamSynchronize(stream));
|
||||
|
||||
HIPCHECK(hipStreamDestroy(stream));
|
||||
|
||||
HIPCHECK(hipModuleUnload(Module));
|
||||
|
||||
在新工单中引用
屏蔽一个用户