Skip to content

Commit 89e9087

Browse files
committed
Add run with dump enabled
1 parent 27d88d2 commit 89e9087

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

conda-recipe/build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ echo "build is completed, run now ..."
77
./test_minimal
88
echo "run is done"
99

10+
echo "create tmp folder: $PREFIX/tmp"
11+
mkdir -p $PREFIX/tmp
12+
echo "run with dump enabled ..."
13+
SYCL_CACHE_DISABLE=1 IGC_ShaderDumpEnable=1 IGC_ShaderDumpEnableAll=1 IGC_DumpToCustomDir=$PREFIX/tmp ./test_minimal
14+
echo "print dump:"
15+
find tmp -name "*.asm" -exec cat {} \;
16+
echo "test is complete"
17+
1018
# This is necessary to help DPC++ find Intel libraries such as SVML, IRNG, etc in build prefix
1119
export LIBRARY_PATH="$LIBRARY_PATH:${BUILD_PREFIX}/lib"
1220

0 commit comments

Comments
 (0)