Skip to content

Commit 6850bed

Browse files
authored
Update check_binary.sh
1 parent 051b9d1 commit 6850bed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

check_binary.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ setup_link_flags () {
264264
}
265265

266266
TEST_CODE_DIR="$(dirname ${BASH_SOURCE[0]})/test_example_code"
267-
echo ${TEST_CODE_DIR}
268267
build_and_run_example_cpp () {
269268
if [[ "$DESIRED_DEVTOOLSET" == *"cxx11-abi"* ]]; then
270269
GLIBCXX_USE_CXX11_ABI=1
@@ -386,6 +385,8 @@ if [[ "$DESIRED_CUDA" != 'cpu' && "$DESIRED_CUDA" != *"rocm"* ]]; then
386385
# Validates builds is free of linker regressions reported in https://github.com/pytorch/pytorch/issues/57744
387386
echo "Checking that exception handling works"
388387
python -c "import torch; from unittest import TestCase;TestCase().assertRaises(RuntimeError, lambda:torch.eye(7, 7, device='cuda:7'))"
388+
389+
echo "test_code_dir = ${TEST_CODE_DIR}"
389390

390391
echo "Checking that basic RNN works"
391392
python ${TEST_CODE_DIR}/rnn_smoke.py

0 commit comments

Comments
 (0)