silence warnings in functional testsuite

check the return code of hip functions in order to silence some
warnings.
This commit is contained in:
Edgar Gabriel committed 2024-07-02 10:07:43 -07:00
1 parent d4bb03503e
commit 7e7bc4b0a9
11 file changed
+50 -40

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ void GetSwarmTester::launchKernel(dim3 gridSize, dim3 blockSize, int loop,
hipLaunchKernelGGL(GetSwarmTest, gridSize, blockSize, shared_bytes, stream,
loop, args.skip, timer, s_buf, r_buf, size,
_shmem_context);
_shmem_context);
num_msgs = (loop + args.skip) * gridSize.x * blockSize.x;
num_timed_msgs = loop * gridSize.x * blockSize.x;