Skip to content

Commit 42d1a01

Browse files
authored
fix doc typo (#2529)
1 parent f453e3f commit 42d1a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/features/DPC++_Extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ In C++ code, you can fetch a `sycl::queue` reference as below.
134134
auto device_type = c10::DeviceType::XPU;
135135
c10::impl::VirtualGuardImpl impl(device_type);
136136
c10::Stream c10_stream = impl.getStream(c10::Device(device_type));
137-
auto& queue = xpu::get_queue_fromSo_stream(c10_stream);
137+
auto& queue = xpu::get_queue_from_stream(c10_stream);
138138
```
139139
In python code, you can use the below codes to get a `sycl::queue` pointer, which
140140
is stored by `PyLong_FromVoidPtr`.

0 commit comments

Comments
 (0)