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 2914 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm
14- // RUN: echo "Baseline from driver version 1.3.30872"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 2914 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.30872"%}
1515
1616#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 2969 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm
14- // RUN: echo "Baseline from driver version 1.3.30872"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 2969 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.30872"%}
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 %if igc-dev %{ 1059 %} %else %{ 1116 %} ZTSZZ7runTestjjjRdS_ENKUlRN4sycl3_V17handlerEE_clES3_E3K16.asm
14- // RUN: echo "Baseline from driver version 1.3.30872"
13+ // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir %if igc-dev %{ 1059 %} %else %{ 1116 %} ZTSZZ7runTestjjjRdS_ENKUlRN4sycl3_V17handlerEE_clES3_E3K16.asm%}
14+ // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.30872"%}
1515
1616#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 66// or SYCL_CACHE_TRACE is set to 0.
77
88// RUN: env SYCL_CACHE_IN_MEM=0 %{run} %t.out 2> %t.trace1
9- // RUN: FileCheck --allow-empty --input-file=%t.trace1 --implicit-check-not "In-Memory Cache" %s
9+ // RUN: %if run-mode %{ FileCheck --allow-empty --input-file=%t.trace1 --implicit-check-not "In-Memory Cache" %s %}
1010// RUN: env SYCL_CACHE_TRACE=0 %{run} %t.out 2> %t.trace2
11- // RUN: FileCheck --allow-empty --input-file=%t.trace2 --implicit-check-not "In-Memory Cache" %s
11+ // RUN: %if run-mode %{ FileCheck --allow-empty --input-file=%t.trace2 --implicit-check-not "In-Memory Cache" %s %}
1212
1313// RUN: env SYCL_CACHE_TRACE=2 %{run} %t.out 2> %t.trace3
14- // RUN: FileCheck %s --input-file=%t.trace3 --check-prefix=CHECK-CACHE-TRACE
14+ // RUN: %if run-mode %{ FileCheck %s --input-file=%t.trace3 --check-prefix=CHECK-CACHE-TRACE %}
1515
1616#include < sycl/detail/core.hpp>
1717
You can’t perform that action at this time.
0 commit comments