Commit 73e6b22
authored
[SYCLCOMPAT] Forward launch arguments to avoid copies (#16965)
This is important when passing a CUTensorMap argument to a descriptor,
since taking the address of a copy of a CUTensorMap will cause runtime
issues. e.g.
```
UR CUDA ERROR:
Value: 700
Name: CUDA_ERROR_ILLEGAL_ADDRESS
Description: an illegal memory access was encountered
Function: operator()
Source Location: llvm/build/_deps/unified-runtime-src/source/adapters/cuda/queue.cpp:231
```1 parent 0dfb947 commit 73e6b22
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
203 | | - | |
204 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
205 | 208 | | |
206 | 209 | | |
207 | 210 | | |
| |||
0 commit comments