Commit a5e8209
authored
[SYCL] Remove
This was discussed in
#15342 (comment) and the
consensus seemed to be that we should drop it right away in a separate
PR, do it here.
Technically, it is a breaking change that could also be considered a
bugfix. An example of a class failing the updated check is
```
struct Kernel {
Kernel(int);
Kernel(const Kernel&) = default;
Kernel& operator=(const Kernel&) { return *this; } // non-trivial
};
```
An additional minor reason (other than not being SYCL-conformant) to
drop it right away is to save a tiny bit of compile time that is
currently used to support something violating the spec.
This required some fixes in the reductions implementation to make sure
the kernel we submit internally are actually device copyable.IsDeprecatedDeviceCopyable (#16615)1 parent 98c0d5d commit a5e8209
File tree
3 files changed
+13
-31
lines changed- sycl
- include/sycl
- detail
- test/basic_tests
3 files changed
+13
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 92 | | |
103 | 93 | | |
104 | 94 | | |
105 | 95 | | |
106 | 96 | | |
107 | 97 | | |
108 | 98 | | |
109 | | - | |
110 | | - | |
| 99 | + | |
111 | 100 | | |
112 | 101 | | |
113 | 102 | | |
| |||
119 | 108 | | |
120 | 109 | | |
121 | 110 | | |
122 | | - | |
123 | | - | |
| 111 | + | |
124 | 112 | | |
125 | 113 | | |
126 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
410 | 414 | | |
411 | 415 | | |
412 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 28 | | |
37 | 29 | | |
38 | 30 | | |
| |||
67 | 59 | | |
68 | 60 | | |
69 | 61 | | |
70 | | - | |
71 | 62 | | |
72 | 63 | | |
73 | 64 | | |
| |||
78 | 69 | | |
79 | 70 | | |
80 | 71 | | |
81 | | - | |
82 | 72 | | |
83 | 73 | | |
84 | 74 | | |
| |||
0 commit comments