Commit 4138143
committed
[SYCL] Fix return type of initialization value extraction
This commit fixes an issue where the function extracting the initial
value of a device_global would return it as a reference to a different
type, which in turn could cause some unexpected behavior.
Signed-off-by: Larsen, Steffen <[email protected]>1 parent b8395de commit 4138143
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments