Commit 59dafb2
Sergei Vinogradov
[SYCL] Kernel object and lambda must have the same name (#20041)
Today, the API that accepts both a kernel object and a corresponding
lambda (non-standard and planned for removal in the next major release)
ignores the case when the name stored in the kernel object differs from
the lambda name. This PR modifies this behavior and throws an exception
if names do not match.1 parent b671165 commit 59dafb2
1 file changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1467 | 1467 | | |
1468 | 1468 | | |
1469 | 1469 | | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
1473 | | - | |
1474 | | - | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
1475 | 1475 | | |
| 1476 | + | |
1476 | 1477 | | |
1477 | 1478 | | |
1478 | 1479 | | |
| |||
1926 | 1927 | | |
1927 | 1928 | | |
1928 | 1929 | | |
1929 | | - | |
1930 | | - | |
1931 | | - | |
1932 | | - | |
1933 | | - | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
1934 | 1936 | | |
| 1937 | + | |
| 1938 | + | |
1935 | 1939 | | |
1936 | 1940 | | |
1937 | 1941 | | |
| |||
0 commit comments