Commit 2e9542a
authored
[SYCL][L0] Fixed SYCL_PI_TRACE printing problem (#2619)
SYCL_PI_TRACE is used for internal debugging. It displays
the PI function that is being called and its arguments.
When piGetDeviceInfo() was called, the printing of the
pointer used for a variable sized string was incorrect.
Added a print() specialization.
The nullptr print() specialization was also updated because
specializations should be special.
Signed-off-by: Gail Lyons <[email protected]>1 parent f20fd4d commit 2e9542a
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
219 | 229 | | |
220 | 230 | | |
221 | 231 | | |
| |||
0 commit comments