Empty kernel test enhancements [tools] (#1999)

* Initial commit

* Improvements-1

* Initial commit for PR

* Updates warning, run.sh, decoupled loops

* Forcing seq cst for CPU timimg

[ROCm/rccl commit: 85baa0d113]
This commit is contained in:
Avinash
2025-11-07 12:28:06 -06:00
committed by GitHub
parent 5b66480595
commit 5ca67dc803
2 changed files with 92 additions and 28 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
make clean
make
echo -e "\n\n"
echo "# Test 1 : CPU Only"
./EmptyKernelTest 10 1 1 1 0
echo -e "\n\n"
echo "# Test 2 : GPU Only"
./EmptyKernelTest 10 1 1 0 1
echo -e "\n\n"
echo "# Test 3 : CPU and GPU"
./EmptyKernelTest 10 1 1 1 1 0
echo -e "\n\n"
echo "# Test 4 : Outer loop - CPU Only"
./EmptyKernelTest 10 1 1 0 0 1
echo -e "\n\n"