ROCM IFU: remove ref to test_elementwise

This commit is contained in:
Michael Melesse
2023-12-07 13:31:59 -06:00
parent 64f559771f
commit 64a0924381
8 changed files with 6 additions and 214 deletions

View File

@@ -1,20 +0,0 @@
sudo apt install gdb -y
# export AMD_OCL_WAIT_COMMAND=1
# export AMD_LOG_LEVEL=3
# export HIP_LAUNCH_BLOCKING=1
ROOT_DIR=$(pwd)
LOG_DIR=$ROOT_DIR/log_$(git rev-parse --symbolic-full-name --abbrev-ref HEAD)
rm -rf $LOG_DIR
mkdir -p $LOG_DIR
chmod -R 777 $LOG_DIR
COMMAND="python/tests/test_elementwise.py::test_single_input[log-float64-float64]"
gdb -ex "set pagination off" \
-ex "file python" \
-ex "run -m pytest --capture=tee-sys --verbose $COMMAND" \
-ex "backtrace" \
-ex "set confirm off" \
-ex "q" \
2>&1 | tee $LOG_DIR/gdb_backtrace.log

View File

@@ -12,8 +12,8 @@ chmod -R 777 $LOG_DIR
bash scripts/amd/clean.sh
bash scripts/amd/build.sh
# bash scripts/amd/test.sh 2>&1 |tee $LOG_DIR/test.log
bash scripts/amd/test.sh 2>&1 |tee $LOG_DIR/test.log
# bash scripts/amd/pytorch.sh 2>&1 |tee $LOG_DIR/test.log
bash scripts/amd/lit.sh 2>&1 |tee $LOG_DIR/lit.log
# bash scripts/amd/lit.sh 2>&1 |tee $LOG_DIR/lit.log
# bash scripts/amd/test.sh backtrace 2>&1 |tee $LOG_DIR/backtrace.log
# bash scripts/amd/cache_print.sh 2>&1 |tee $LOG_DIR/cache.log

View File

@@ -23,7 +23,6 @@ UNIT_TEST="python/test/unit/language/test_core_amd.py"
# UNIT_TEST="python/test/unit/language/test_core.py::test_bin_op[int8-float16-%]"
# UNIT_TEST="python/test/unit/language/test_core_amd.py::test_masked_load_shared_memory[dtype0]"
# UNIT_TEST="python/test/unit/language/test_core_amd.py::test_masked_load_shared_memory[dtype1]"
# UNIT_TEST="python/test/unit/language/test_elementwise.py"
# check for backtrace
if [ "$1" == "backtrace" ]; then

Submodule scripts/amd/tree-sitter-cmake added at 73ab4b8e95

Submodule scripts/amd/tree-sitter-cpp added at a90f170f92

Submodule scripts/amd/tree-sitter-python added at 4bfdd9033a

Submodule scripts/amd/tree-sitter-tablegen added at 568dd8a937