Skip to content
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{}};
...
```