mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
ROCM IFU: remove ref to test_elementwise
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
1
scripts/amd/tree-sitter-cmake
Submodule
1
scripts/amd/tree-sitter-cmake
Submodule
Submodule scripts/amd/tree-sitter-cmake added at 73ab4b8e95
1
scripts/amd/tree-sitter-cpp
Submodule
1
scripts/amd/tree-sitter-cpp
Submodule
Submodule scripts/amd/tree-sitter-cpp added at a90f170f92
1
scripts/amd/tree-sitter-python
Submodule
1
scripts/amd/tree-sitter-python
Submodule
Submodule scripts/amd/tree-sitter-python added at 4bfdd9033a
1
scripts/amd/tree-sitter-tablegen
Submodule
1
scripts/amd/tree-sitter-tablegen
Submodule
Submodule scripts/amd/tree-sitter-tablegen added at 568dd8a937
Reference in New Issue
Block a user