silence warnings in functional testsuite

check the return code of hip functions in order to silence some
warnings.


[ROCm/rocshmem commit: 7e7bc4b0a9]
This commit is contained in:
Edgar Gabriel
2024-07-02 10:07:43 -07:00
parent bce3a09408
commit ac3c18bc7c
11 changed files with 50 additions and 40 deletions
@@ -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;