Commit 236c32e
committed
Add API to get backend and tweak lifetime of view
Two changes that make it easier to use `device_image` by code that
does not also have the `kernel_bundle` object:
* Add an API to `device_image` that returns the backend.
* Change the lifetime of the content view to be the lifetime of the
`device_image` object instead of the containing `kernel_bundle` object.1 parent d288119 commit 236c32e
File tree
1 file changed
+17
-2
lines changed- sycl/doc/extensions/proposed
1 file changed
+17
-2
lines changedLines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
115 | 131 | | |
116 | 132 | | |
117 | 133 | | |
| |||
144 | 160 | | |
145 | 161 | | |
146 | 162 | | |
147 | | - | |
148 | | - | |
| 163 | + | |
149 | 164 | | |
150 | 165 | | |
151 | 166 | | |
| |||
0 commit comments