-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL] Add special type parameter support for free function kernels #17789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b83903a
8f10be9
a91ba9d
ff1c3b4
9c3cae8
e44de79
8cff614
b4f18e1
b23734f
d78b932
435402b
ee9e906
18adbbc
917695a
50c881d
e93a408
9c3d471
7dcef46
553219a
b1c3d48
a68f354
ba2a3c1
c7b468b
c576d45
026a84c
63befeb
7825a52
1cc2d7a
2300351
ba0b7b0
43e5a6a
7c61469
f0f8bc8
051e472
a729737
0caa0e5
787239a
139e1d7
87afab0
613085b
8ca6758
ddcf366
2ae1b3f
2d4bb14
a695ca0
15a82df
68ad97d
4b50452
538cd68
c793280
a9350fb
ecd9443
f9baae7
198fafe
4ddbd5f
29c48af
bb682d0
b01bbda
d6632ff
aef7353
b47ea3d
de227ec
987c6e3
d1d1777
1f42732
08cea6d
b9f49d8
c51e897
2b71a25
eacf30d
6e5a42f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,11 +29,12 @@ int main() { | |
// CHECK: call spir_func void {{.*}}6__init{{.*}} !dbg [[LINE_A0]] | ||
// CHECK: call spir_func void @_ZZ4mainENKUlvE_clEv{{.*}} !dbg [[LINE_B0:![0-9]+]] | ||
// CHECK: ret void, !dbg [[LINE_C0:![0-9]+]] | ||
// CHECK: !DIFile(filename: "{{.*}}debug-info-srcpos-kernel.cpp"{{.*}}) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is that change in this test due to a default constructor of the sampler? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There is a bug where two DIFile entries are being emitted for the same file. It is a pre-existing issue. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the input @bwyma . Yeah, that's exactly what happened, the DIFile got reordered and now there are two before DISubprogram. I've identified the culprit as the default constructor I added to the sampler for some reason. Could you please confirm that this test change is ok by giving an approval? |
||
// CHECK: [[FILE:![0-9]+]] = !DIFile(filename: "{{.*}}debug-info-srcpos-kernel.cpp"{{.*}}) | ||
// CHECK: [[KERNEL]] = {{.*}}!DISubprogram(name: "{{.*}}19use_kernel_for_test" | ||
// CHECK-SAME: scope: [[FILE:![0-9]+]], | ||
// CHECK-SAME: scope: [[FILE]], | ||
// CHECK-SAME: file: [[FILE]], | ||
// CHECK-SAME: flags: DIFlagArtificial | DIFlagPrototyped | ||
// CHECK: [[FILE]] = !DIFile(filename: "{{.*}}debug-info-srcpos-kernel.cpp"{{.*}}) | ||
// CHECK: [[LINE_A0]] = !DILocation(line: 15,{{.*}}scope: [[KERNEL]] | ||
// CHECK: [[LINE_B0]] = !DILocation(line: 16,{{.*}}scope: [[BLOCK:![0-9]+]] | ||
// CHECK: [[BLOCK]] = distinct !DILexicalBlock(scope: [[KERNEL]] | ||
|
Uh oh!
There was an error while loading. Please reload this page.