File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
sycl/doc/extensions/IntelFPGA Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# FPGA selector
2
2
3
- Intel FPGA users can use header file: ` #include<CL/sycl/intel /fpga_device_selector.hpp> ` to simplify their code
3
+ Intel FPGA users can use header file: ` #include<CL/sycl/INTEL /fpga_device_selector.hpp> ` to simplify their code
4
4
when they want to specify FPGA hardware device or FPGA emulation device.
5
5
6
6
## Implementation
@@ -10,18 +10,18 @@ one FPGA board installed in their system (one device per platform).
10
10
11
11
## Usage: select FPGA hardware device
12
12
``` c++
13
- #include < CL/sycl/intel /fpga_device_selector.hpp>
13
+ #include < CL/sycl/INTEL /fpga_device_selector.hpp>
14
14
...
15
15
// force FPGA hardware device
16
- cl::sycl::queue deviceQueue{cl::sycl::intel ::fpga_selector{}};
16
+ cl::sycl::queue deviceQueue{cl::sycl::INTEL ::fpga_selector{}};
17
17
...
18
18
```
19
19
20
20
## Usage: select FPGA emulator device
21
21
```c++
22
- #include <CL/sycl/intel /fpga_device_selector.hpp>
22
+ #include <CL/sycl/INTEL /fpga_device_selector.hpp>
23
23
...
24
24
// force FPGA emulation device
25
- cl::sycl::queue deviceQueue{cl::sycl::intel ::fpga_emulator_selector{}};
25
+ cl::sycl::queue deviceQueue{cl::sycl::INTEL ::fpga_emulator_selector{}};
26
26
...
27
27
```
You can’t perform that action at this time.
0 commit comments