Dateien
rocm-systems/tools/EmptyKernelTest/run.sh
T
Avinash 85baa0d113 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
2025-11-07 12:28:06 -06:00

21 Zeilen
351 B
Bash
Ausführbare Datei

#!/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"