Skip to content

Commit d07d8da

Browse files
committed
Review comments
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent e72b4d5 commit d07d8da

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

sycl/doc/GetStartedGuide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ device and queue objects bound to Intel GPU device:
723723
724724
int main() {
725725
726-
auto NEOGPUDeviceSelectorLambda = [](const sycl::device &Device){
726+
auto NEOGPUDeviceSelector = [](const sycl::device &Device){
727727
using namespace sycl::info;
728728
729729
const std::string DeviceName = Device.get_info<device::name>();
@@ -733,8 +733,8 @@ int main() {
733733
};
734734
735735
try {
736-
sycl::queue Queue(NEOGPUDeviceSelectorLambda);
737-
sycl::device Device(NEOGPUDeviceSelectorLambda);
736+
sycl::queue Queue(NEOGPUDeviceSelector);
737+
sycl::device Device(NEOGPUDeviceSelector);
738738
} catch (sycl::exception &E) {
739739
std::cout << E.what() << std::endl;
740740
}

sycl/doc/MultiTileCardWithLevelZero.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ try {
143143
``` C++
144144
try {
145145
// The queue is attached to the root-device, driver distributes to sub-devices, if any.
146-
auto D = device(gpu_selector_v);
147-
auto Q = queue(D);
146+
auto Q = queue(gpu_selector_v);
148147
Q.submit([&](handler& cgh) {...});
149148
}
150149
```

0 commit comments

Comments
 (0)