mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
add prints in c code
This commit is contained in:
@@ -13,4 +13,4 @@ chmod -R 777 $LOG_DIR
|
||||
bash scripts/amd/clean.sh
|
||||
bash scripts/amd/build.sh
|
||||
bash scripts/amd/test.sh backtrace 2>&1 |tee $LOG_DIR/test.log
|
||||
bash scripts/amd/cache_print.sh 2>&1 |tee $LOG_DIR/cache.log
|
||||
# bash scripts/amd/cache_print.sh 2>&1 |tee $LOG_DIR/cache.log
|
||||
@@ -10,6 +10,8 @@ rm -rf $LOG_DIR
|
||||
mkdir -p $LOG_DIR
|
||||
chmod -R 777 $LOG_DIR
|
||||
|
||||
sh scripts/amd/clean.sh
|
||||
|
||||
# check for backtrace
|
||||
if [ "$1" == "backtrace" ]; then
|
||||
sudo apt install gdb -y
|
||||
@@ -26,12 +28,11 @@ if [ "$1" == "backtrace" ]; then
|
||||
|
||||
else
|
||||
|
||||
# sh scripts/amd/clean.sh
|
||||
|
||||
# pytest -rfs --verbose python/tests 2>&1 | tee $LOG_DIR/test_all.log
|
||||
# pytest -rfs --verbose "python/tests/test_compiler.py" 2>&1 | tee $LOG_DIR/test_compiler.log
|
||||
# pytest -rfs --verbose "python/tests/test_core_amd.py" 2>&1 | tee $LOG_DIR/test_core_amd.log
|
||||
pytest -rfs --verbose "python/tests/test_core_amd.py::test_empty_kernel[float32]" 2>&1 | tee $LOG_DIR/test_core_amd.log
|
||||
# pytest -rfs --verbose "python/tests/test_core_amd.py::test_empty_kernel" 2>&1 | tee $LOG_DIR/test_empty_kernel.log
|
||||
pytest -rfs --verbose "python/tests/test_core_amd.py::test_empty_kernel[float32]" 2>&1 | tee $LOG_DIR/test_empty_kernel_float32.log
|
||||
# pytest -rfs --verbose "python/test/unit/language/test_core.py" 2>&1 | tee $LOG_DIR/test_core_amd.log
|
||||
# pytest -rfs --verbose "python/tests/test_core.py" 2>&1 | tee $LOG_DIR/test_core.log
|
||||
# pytest -rfs --verbose "python/tests/test_core.py::test_math_op" | tee $LOG_DIR/test_math_op.log
|
||||
|
||||
Reference in New Issue
Block a user