Add hipStreamSynchronize to hipModuleLoadDataMultThreadOnMultGPU test

hipStreamDestroy() by definition doesn't guarantee waiting for all stream operations.

Change-Id: Ibfd21c48d71741ebcbcb9898c8b5ac235bdc570b


[ROCm/hip commit: 2299459ce0]
이 커밋은 다음에 포함됨:
Jason Tang 작성하고 Jason Tang가 2020-10-08 11:06:39 -04:00를 커밋함
1 부모 32d79cd4cc
커밋 69b0429a5e
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));