We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27d88d2 commit 5663067Copy full SHA for 5663067
1 file changed
conda-recipe/build.sh
@@ -7,6 +7,18 @@ echo "build is completed, run now ..."
7
./test_minimal
8
echo "run is done"
9
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 $PREFIX/tmp -name "*.asm"
16
+echo "1st option"
17
+find $PREFIX/tmp -name "*.asm" -exec cat {} \;
18
+echo "2nd option"
19
+cat $(find $PREFIX/tmp -name "*.asm" | head -n 1)
20
+echo "test is complete"
21
+
22
# This is necessary to help DPC++ find Intel libraries such as SVML, IRNG, etc in build prefix
23
export LIBRARY_PATH="$LIBRARY_PATH:${BUILD_PREFIX}/lib"
24
0 commit comments