Skip to content

[SYCL][DOC] Fix path to FPGA device selector in doc #2563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions sycl/doc/extensions/IntelFPGA/FPGASelector.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# FPGA selector

Intel FPGA users can use header file: `#include<CL/sycl/intel/fpga_device_selector.hpp>` to simplify their code
Intel FPGA users can use header file: `#include<CL/sycl/INTEL/fpga_device_selector.hpp>` to simplify their code
when they want to specify FPGA hardware device or FPGA emulation device.

## Implementation
Expand All @@ -10,18 +10,18 @@ one FPGA board installed in their system (one device per platform).

## Usage: select FPGA hardware device
```c++
#include <CL/sycl/intel/fpga_device_selector.hpp>
#include <CL/sycl/INTEL/fpga_device_selector.hpp>
...
// force FPGA hardware device
cl::sycl::queue deviceQueue{cl::sycl::intel::fpga_selector{}};
cl::sycl::queue deviceQueue{cl::sycl::INTEL::fpga_selector{}};
...
```

## Usage: select FPGA emulator device
```c++
#include <CL/sycl/intel/fpga_device_selector.hpp>
#include <CL/sycl/INTEL/fpga_device_selector.hpp>
...
// force FPGA emulation device
cl::sycl::queue deviceQueue{cl::sycl::intel::fpga_emulator_selector{}};
cl::sycl::queue deviceQueue{cl::sycl::INTEL::fpga_emulator_selector{}};
...
```