File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
sycl/test-e2e/KernelAndProgram Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 11// REQUIRES: gpu
2- // RUN: %{build} -o %t.out %debug_option
2+ // RUN: %{build} -o %t.out -g
33// RUN: env SYCL_UR_TRACE=2 %{run} %t.out | FileCheck %s
44// UNSUPPORTED: hip
55
6- // Debug option -g is not passed to device code compiler when CL-style driver
7- // is used and /DEBUG options is passed.
8- // XFAIL: cl_options
9- // XFAIL-TRACKER: https://github.com/intel/llvm/issues/16309
6+ // Rather than %debug_option, we just use -g since it's supported everywhere
7+ // and simplifies things on the FileCheck side.
8+
9+ // Note that the UR call might be urProgramBuild OR urProgramBuildExp .
10+ // The same is true for Compile and Link.
11+ // We want the first match. Don't put parentheses after.
1012
1113#include " kernel-bundle-merge-options.hpp"
1214
1315// CHECK: <--- urProgramBuild
1416// CHECK-SAME: -g
1517
16- // TODO: Uncomment when build options are properly passed to compile and link
18+ // CHECK: <--- urProgramCompile
19+ // CHECK-SAME: -g
20+
21+ // TODO: Uncomment when build options are properly passed to link
1722// commands for kernel_bundle
18- // xCHECK: <--- urProgramCompile(
19- // xCHECK-SAME: -g
20- // xCHECK: <--- urProgramLink(
23+ // xCHECK: <--- urProgramLink
2124// xCHECK-SAME: -g
You can’t perform that action at this time.
0 commit comments