silence warnings in functional testsuite
check the return code of hip functions in order to silence some warnings.
此提交包含在:
1 父節點
d4bb03503e
當前提交
7e7bc4b0a9
11 file changed
+50
-40
No files matched your search
@@ -87,7 +87,7 @@ void PrimitiveMRTester::launchKernel(dim3 gridSize, dim3 blockSize, int loop,
|
||||
hipLaunchKernelGGL(PrimitiveMRTest, gridSize, blockSize, shared_bytes, stream,
|
||||
loop, timer, s_buf, r_buf, size, _shmem_context);
|
||||
|
||||
hipDeviceSynchronize();
|
||||
CHECK_HIP(hipDeviceSynchronize());
|
||||
|
||||
num_msgs = (loop + args.skip) * gridSize.x;
|
||||
num_timed_msgs = loop * 64;
|
||||
|
||||
Reference in new issue
封鎖使用者