File tree Expand file tree Collapse file tree 9 files changed +24
-24
lines changed Expand file tree Collapse file tree 9 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 88// RUN: %{build} %debug_option %O0 -o %t.out
99// RUN: echo SYCL_PRINT_EXECUTION_GRAPH=always > %t.cfg
1010// RUN: %{run-unfiltered-devices} env SYCL_CONFIG_FILE_NAME=%t.cfg %t.out
11- // RUN: cat *.dot > /dev/null
12- // RUN: rm *.dot
11+ // RUN: %if run-mode %{ cat *.dot > /dev/null%}
12+ // RUN: %if run-mode %{ rm *.dot%}
1313// RUN: %{run-unfiltered-devices} env SYCL_PRINT_EXECUTION_GRAPH=always %t.out
14- // RUN: cat *.dot > /dev/null
15- // RUN: rm *.dot
14+ // RUN: %if run-mode %{ cat *.dot > /dev/null%}
15+ // RUN: %if run-mode %{ rm *.dot%}
1616// RUN: %{run-unfiltered-devices} %t.out
17- // RUN: not cat *.dot > /dev/null
17+ // RUN: %if run-mode %{ not cat *.dot > /dev/null%}
1818
1919#include < sycl/detail/core.hpp>
2020
Original file line number Diff line number Diff line change 1010
1111// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
1212// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
13- // RUN: python3 %S/instruction_count.py %t.dir 3452 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm
14- // RUN: echo "Baseline from driver version 1.3.29138"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 3452 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.29138"%}
1515
16- #include " ../BitonicSortK.cpp"
16+ #include " ../BitonicSortK.cpp"
Original file line number Diff line number Diff line change 1010
1111// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
1212// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
13- // RUN: python3 %S/instruction_count.py %t.dir 3456 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm
14- // RUN: echo "Baseline from driver version 1.3.29138"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 3456 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.29138"%}
1515
1616#include " ../BitonicSortKv2.cpp"
Original file line number Diff line number Diff line change 1010
1111// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
1212// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
13- // RUN: python3 %S/instruction_count.py %t.dir 1699 ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_E14Stencil_kernel.asm
14- // RUN: echo "Baseline from driver version 1.3.29138"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 1699 ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_E14Stencil_kernel.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.29138"%}
1515
16- #include " ../Stencil.cpp"
16+ #include " ../Stencil.cpp"
Original file line number Diff line number Diff line change 1010
1111// RUN: mkdir -p %t.dir && %{build} -fsycl -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr -o %t.dir/exec.out
1212// RUN: env IGC_VCSaveStackCallLinkage=1 IGC_VCDirectCallsOnly=1 IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
13- // RUN: python3 %S/instruction_count.py %t.dir 149 _simd16_entry_0001.asm
14- // RUN: echo "Baseline from driver version 1.3.29735"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 149 _simd16_entry_0001.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.29735"%}
1515
16- #include " ../../InvokeSimd/invoke_simd_smoke.cpp"
16+ #include " ../../InvokeSimd/invoke_simd_smoke.cpp"
Original file line number Diff line number Diff line change 1010
1111// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
1212// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
13- // RUN: python3 %S/instruction_count.py %t.dir 1280 ZTSZZ7runTestjjjRdS_ENKUlRN4sycl3_V17handlerEE_clES3_E3K16.asm
14- // RUN: echo "Baseline from driver version 1.3.29138"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 1280 ZTSZZ7runTestjjjRdS_ENKUlRN4sycl3_V17handlerEE_clES3_E3K16.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.29138"%}
1515
16- #include " ../matrix_transpose.cpp"
16+ #include " ../matrix_transpose.cpp"
Original file line number Diff line number Diff line change 1010
1111// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
1212// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
13- // RUN: python3 %S/instruction_count.py %t.dir 1699 ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_E14Stencil_kernel.asm
14- // RUN: echo "Baseline from driver version 1.3.29138"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 1699 ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_E14Stencil_kernel.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.29138"%}
1515
16- #include " ../stencil2.cpp"
16+ #include " ../stencil2.cpp"
Original file line number Diff line number Diff line change 99// UNSUPPORTED: gpu-intel-dg2 || arch-intel_gpu_pvc
1010// RUN: %{build} -o %t.out
1111// RUN: env IGC_DumpToCustomDir=%t.dump IGC_ShaderDumpEnable=1 %{run} %t.out
12- // RUN: grep enablePreemption %t.dump/*.asm
12+ // RUN: %if run-mode %{ grep enablePreemption %t.dump/*.asm%}
1313
1414// The test expects to see "enablePreemption" switch in the compilation
1515// switches. It fails if does not find it.
Original file line number Diff line number Diff line change 11// Don't use normal %{run} as we need to control cache directory removal and
22// cannot do that reliably when number of devices is unknown.
33//
4- // REQUIRES: level_zero, ocloc
4+ // REQUIRES: level_zero, ocloc, run-mode
55//
66// DEFINE: %{cache_vars} = env SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=1 SYCL_CACHE_DIR=%t/cache_dir
77// DEFINE: %{build_cmd} = %{build}
You can’t perform that action at this time.
0 commit comments