File tree Expand file tree Collapse file tree 12 files changed +26
-23
lines changed Expand file tree Collapse file tree 12 files changed +26
-23
lines changed Original file line number Diff line number Diff line change 8
8
// RUN: %{build} %debug_option %O0 -o %t.out
9
9
// RUN: echo SYCL_PRINT_EXECUTION_GRAPH=always > %t.cfg
10
10
// RUN: %{run-unfiltered-devices} env SYCL_CONFIG_FILE_NAME=%t.cfg %t.out
11
- // RUN: %if run-mode %{ cat *.dot > /dev/null%}
12
- // RUN: %if run-mode %{ rm *.dot%}
11
+ // RUN: %{ run-aux} cat *.dot > /dev/null
12
+ // RUN: %{ run-aux} rm *.dot
13
13
// RUN: %{run-unfiltered-devices} env SYCL_PRINT_EXECUTION_GRAPH=always %t.out
14
- // RUN: %if run-mode %{ cat *.dot > /dev/null%}
15
- // RUN: %if run-mode %{ rm *.dot%}
14
+ // RUN: %{ run-aux} cat *.dot > /dev/null
15
+ // RUN: %{ run-aux} rm *.dot
16
16
// RUN: %{run-unfiltered-devices} %t.out
17
- // RUN: %if run-mode %{ not cat *.dot > /dev/null%}
17
+ // RUN: %{ run-aux} not cat *.dot > /dev/null
18
18
19
19
#include < sycl/detail/core.hpp>
20
20
Original file line number Diff line number Diff line change 10
10
11
11
// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
12
12
// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
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"%}
13
+ // RUN: %{ run-aux} python3 %S/instruction_count.py %t.dir 2914 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm
14
+ // RUN: %{ run-aux} echo "Baseline from driver version 1.3.30872"
15
15
16
16
#include " ../BitonicSortK.cpp"
Original file line number Diff line number Diff line change 10
10
11
11
// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
12
12
// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
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"%}
13
+ // RUN: %{ run-aux} python3 %S/instruction_count.py %t.dir 2969 ZTSZZN11BitonicSort5SolveEPjS0_jENKUlRN4sycl3_V17handlerEE0_clES4_E5Merge.asm
14
+ // RUN: %{ run-aux} echo "Baseline from driver version 1.3.30872"
15
15
16
16
#include " ../BitonicSortKv2.cpp"
Original file line number Diff line number Diff line change 10
10
11
11
// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
12
12
// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
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"%}
13
+ // RUN: %{ run-aux} python3 %S/instruction_count.py %t.dir 1699 ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_E14Stencil_kernel.asm
14
+ // RUN: %{ run-aux} echo "Baseline from driver version 1.3.29138"
15
15
16
16
#include " ../Stencil.cpp"
Original file line number Diff line number Diff line change 12
12
13
13
// RUN: mkdir -p %t.dir && %{build} -fsycl -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr -o %t.dir/exec.out
14
14
// RUN: env IGC_VCSaveStackCallLinkage=1 IGC_VCDirectCallsOnly=1 IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
15
- // RUN: %if run-mode %{ python3 %S/instruction_count.py %t.dir 149 _simd16_entry_0001.asm%}
16
- // RUN: %if run-mode %{ echo "Baseline from driver version 1.3.29735"%}
15
+ // RUN: %{ run-aux} python3 %S/instruction_count.py %t.dir 149 _simd16_entry_0001.asm
16
+ // RUN: %{ run-aux} echo "Baseline from driver version 1.3.29735"
17
17
18
18
#include " ../../InvokeSimd/invoke_simd_smoke.cpp"
Original file line number Diff line number Diff line change 10
10
11
11
// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
12
12
// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
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"%}
13
+ // RUN: %{ run-aux} python3 %S/instruction_count.py %t.dir %if igc-dev %{ 1059 %} %else %{ 1116 %} ZTSZZ7runTestjjjRdS_ENKUlRN4sycl3_V17handlerEE_clES3_E3K16.asm
14
+ // RUN: %{ run-aux} echo "Baseline from driver version 1.3.30872"
15
15
16
16
#include " ../matrix_transpose.cpp"
Original file line number Diff line number Diff line change 10
10
11
11
// RUN: mkdir -p %t.dir && %{build} -o %t.dir/exec.out
12
12
// RUN: env IGC_DumpToCustomDir=%t.dir IGC_ShaderDumpEnable=1 %{run} %t.dir/exec.out
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"%}
13
+ // RUN: %{ run-aux} python3 %S/instruction_count.py %t.dir 1699 ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_E14Stencil_kernel.asm
14
+ // RUN: %{ run-aux} echo "Baseline from driver version 1.3.29138"
15
15
16
16
#include " ../stencil2.cpp"
Original file line number Diff line number Diff line change 9
9
// UNSUPPORTED: gpu-intel-dg2 || arch-intel_gpu_pvc
10
10
// RUN: %{build} -o %t.out
11
11
// RUN: env IGC_DumpToCustomDir=%t.dump IGC_ShaderDumpEnable=1 %{run} %t.out
12
- // RUN: %if run-mode %{ grep enablePreemption %t.dump/*.asm%}
12
+ // RUN: %{ run-aux} grep enablePreemption %t.dump/*.asm
13
13
14
14
// The test expects to see "enablePreemption" switch in the compilation
15
15
// switches. It fails if does not find it.
Original file line number Diff line number Diff line change 6
6
// or SYCL_CACHE_TRACE is set to 0.
7
7
8
8
// RUN: env SYCL_CACHE_IN_MEM=0 %{run} %t.out 2> %t.trace1
9
- // RUN: %if run-mode %{ FileCheck --allow-empty --input-file=%t.trace1 --implicit-check-not "In-Memory Cache" %s %}
9
+ // RUN: %{ run-aux} FileCheck --allow-empty --input-file=%t.trace1 --implicit-check-not "In-Memory Cache" %s
10
10
// RUN: env SYCL_CACHE_TRACE=0 %{run} %t.out 2> %t.trace2
11
- // RUN: %if run-mode %{ FileCheck --allow-empty --input-file=%t.trace2 --implicit-check-not "In-Memory Cache" %s %}
11
+ // RUN: %{ run-aux} FileCheck --allow-empty --input-file=%t.trace2 --implicit-check-not "In-Memory Cache" %s
12
12
13
13
// RUN: env SYCL_CACHE_TRACE=2 %{run} %t.out 2> %t.trace3
14
- // RUN: %if run-mode %{ FileCheck %s --input-file=%t.trace3 --check-prefix=CHECK-CACHE-TRACE %}
14
+ // RUN: %{ run-aux} FileCheck %s --input-file=%t.trace3 --check-prefix=CHECK-CACHE-TRACE
15
15
16
16
#include < sycl/detail/core.hpp>
17
17
Original file line number Diff line number Diff line change 18
18
19
19
// -- Test again, with caching.
20
20
// DEFINE: %{cache_vars} = env SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=7 SYCL_CACHE_DIR=%t/cache_dir SYCL_CACHE_MAX_SIZE=30000
21
- // RUN: %if run-mode %{ rm -rf %t/cache_dir%}
21
+ // RUN: %{ run-aux} rm -rf %t/cache_dir
22
22
// RUN: %{cache_vars} %{run-unfiltered-devices} %t.out 2>&1 | FileCheck %s --check-prefix=CHECK
23
23
24
24
// CHECK: [Persistent Cache]: enabled
You can’t perform that action at this time.
0 commit comments