Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 3a3d345

Browse files
authored
[SYCL] Allow extra command line options implicitely added by compiler (#432)
DPC++ compiler may add options to JIT compilation implicitely.
1 parent b405c81 commit 3a3d345

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// CHECK-NEXT: <unknown>
1010
// CHECK-NEXT: <unknown>
1111
// CHECK-NEXT: <unknown>
12-
// CHECK-NEXT: <const char *>: -DENV_COMPILE_OPTS -vc-codegen
12+
// CHECK-NEXT: <const char *>:{{.*}}-DENV_COMPILE_OPTS{{.*}}-vc-codegen
1313

1414
// TODO: Uncomment when build options are properly passed to compile and link
1515
// commands for kernel_bundle

SYCL/KernelAndProgram/kernel-bundle-merge-options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// CHECK-NEXT: <unknown>
1313
// CHECK-NEXT: <unknown>
1414
// CHECK-NEXT: <unknown>
15-
// CHECK-NEXT: <const char *>: -g -vc-codegen
15+
// CHECK-NEXT: <const char *>:{{.*}} -g {{.*}}-vc-codegen
1616

1717
// TODO: Uncomment when build options are properly passed to compile and link
1818
// commands for kernel_bundle

SYCL/KernelAndProgram/program-merge-options-env.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// CHECK-NEXT: <unknown>
99
// CHECK-NEXT: <unknown>
1010
// CHECK-NEXT: <unknown>
11-
// CHECK-NEXT: <const char *>: -DENV_COMPILE_OPTS -vc-codegen
11+
// CHECK-NEXT: <const char *>:{{.*}}-DENV_COMPILE_OPTS{{.*}}-vc-codegen
1212

1313
// TODO: Uncomment when build options are properly passed to compile and link
1414
// commands for program

SYCL/KernelAndProgram/program-merge-options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// CHECK-NEXT: <unknown>
1313
// CHECK-NEXT: <unknown>
1414
// CHECK-NEXT: <unknown>
15-
// CHECK-NEXT: <const char *>: -DBUILD_OPTS -g -vc-codegen
15+
// CHECK-NEXT: <const char *>:{{.*}}-DBUILD_OPTS{{.*}}-g{{.*}}-vc-codegen
1616

1717
// TODO: Uncomment when build options are properly passed to compile and link
1818
// commands for program

0 commit comments

Comments
 (0)