Skip to content

Commit 489d95e

Browse files
authored
[SYCL] Re-enable tests on PVC (#15555)
Re-enable the KernelAndProgram/target_register_alloc_mode.cpp and DeviceCodeSplit/grf.cpp E2E tests on PVC by adding compiler flag for DeviceCodeSplit/grf.cpp in runs when old API is used and changing expected output in KernelAndProgram/target_register_alloc_mode.cpp to `urProgramBuildExp` instead of `urProgramBuild`.
1 parent acf1abb commit 489d95e

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

sycl/test-e2e/DeviceCodeSplit/grf.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,16 @@
1414
// compiler option
1515

1616
// REQUIRES: arch-intel_gpu_pvc
17-
// https://github.com/intel/llvm/issues/14826
18-
// XFAIL: *
1917

20-
// RUN: %{build} -o %t.out
18+
// RUN: %{build} -Wno-error=deprecated-declarations -o %t.out
2119
// Don't use SYCL_UR_TRACE as the output from the L0 adapter logging interferes
2220
// with the regular UR traces we are checking.
2321
// RUN: env UR_LOG_TRACING="level:info;output:stdout;flush:info" UR_ENABLE_LAYERS=UR_LAYER_TRACING %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-NO-VAR
2422
// RUN: env SYCL_PROGRAM_COMPILE_OPTIONS="-g" UR_LOG_TRACING="level:info;output:stdout;flush:info" UR_ENABLE_LAYERS=UR_LAYER_TRACING %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-WITH-VAR
2523
// RUN: %{build} -DUSE_NEW_API=1 -o %t.out
2624
// RUN: env UR_LOG_TRACING="level:info;output:stdout;flush:info" UR_ENABLE_LAYERS=UR_LAYER_TRACING %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-NO-VAR
2725
// RUN: env SYCL_PROGRAM_COMPILE_OPTIONS="-g" UR_LOG_TRACING="level:info;output:stdout;flush:info" UR_ENABLE_LAYERS=UR_LAYER_TRACING %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-WITH-VAR
28-
// RUN: %{build} -DUSE_AUTO_GRF=1 -o %t.out
26+
// RUN: %{build} -DUSE_AUTO_GRF=1 -Wno-error=deprecated-declarations -o %t.out
2927
// RUN: env UR_LOG_TRACING="level:info;output:stdout;flush:info" UR_ENABLE_LAYERS=UR_LAYER_TRACING %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-AUTO-NO-VAR
3028
// RUN: env SYCL_PROGRAM_COMPILE_OPTIONS="-g" UR_LOG_TRACING="level:info;output:stdout;flush:info" UR_ENABLE_LAYERS=UR_LAYER_TRACING %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-AUTO-WITH-VAR
3129
// RUN: %{build} -DUSE_NEW_API=1 -DUSE_AUTO_GRF=1 -o %t.out

sycl/test-e2e/KernelAndProgram/target_register_alloc_mode.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// REQUIRES: arch-intel_gpu_pvc
22

3-
// https://github.com/intel/llvm/issues/14826
4-
// XFAIL: arch-intel_gpu_pvc
5-
63
// RUN: %{build} -ftarget-register-alloc-mode=pvc:auto -o %t_with.out
74
// RUN: %{build} -o %t_without.out
85
// RUN: %{build} -ftarget-register-alloc-mode=pvc:default -o %t_default.out
@@ -11,7 +8,7 @@
118
// RUN: env SYCL_UR_TRACE=2 %{run} %t_without.out 2>&1 | FileCheck %if system-windows %{ --implicit-check-not=-ze-intel-enable-auto-large-GRF-mode %} %else %{ --check-prefix=CHECK-OPT %} %s
129
// RUN: env SYCL_UR_TRACE=2 %{run} %t_default.out 2>&1 | FileCheck --implicit-check-not=-ze-intel-enable-auto-large-GRF-mode %s
1310

14-
// CHECK-OPT: ---> urProgramBuild(
11+
// CHECK-OPT: ---> urProgramBuildExp(
1512
// CHECK-SAME-OPT: -ze-intel-enable-auto-large-GRF-mode
1613

1714
#include <sycl/detail/core.hpp>

0 commit comments

Comments
 (0)