Skip to content

Commit c95cdca

Browse files
authored
FPGA: remove instructions to build merge_sort on Windows (#1290)
1 parent 0321d30 commit c95cdca

File tree

1 file changed

+2
-59
lines changed
  • DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/merge_sort

1 file changed

+2
-59
lines changed

DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/merge_sort/README.md

+2-59
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can also find more information about [troubleshooting build errors](/DirectP
4040

4141
| Optimized for | Description
4242
|:--- |:---
43-
| OS | Ubuntu* 18.04/20.04 <br> RHEL*/CentOS* 8 <br> SUSE* 15 <br> Windows* 10
43+
| OS | Ubuntu* 18.04/20.04 <br> RHEL*/CentOS* 8 <br> SUSE* 15
4444
| Hardware | Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA (Intel® PAC with Intel® Arria® 10 GX FPGA) <br> Intel® FPGA Programmable Acceleration Card (PAC) D5005 (with Intel Stratix® 10 SX)
4545
| Software | Intel® oneAPI DPC++/C++ Compiler
4646

@@ -111,11 +111,7 @@ For `constexpr_math.hpp`, `pipe_utils.hpp`, and `unrolled_loop.hpp` see the READ
111111
> - For private installations: ` . ~/intel/oneapi/setvars.sh`
112112
> - For non-POSIX shells, like csh, use the following command: `bash -c 'source <install-dir>/setvars.sh ; exec csh'`
113113
>
114-
> Windows*:
115-
> - `C:\Program Files(x86)\Intel\oneAPI\setvars.bat`
116-
> - Windows PowerShell*, use the following command: `cmd.exe "/K" '"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" && powershell'`
117-
>
118-
> For more information on configuring environment variables, see [Use the setvars Script with Linux* or macOS*](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-linux-or-macos.html) or [Use the setvars Script with Windows*](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-windows.html).
114+
> For more information on configuring environment variables, see [Use the setvars Script with Linux* or macOS*](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-linux-or-macos.html).
119115
120116
### On Linux*
121117

@@ -153,43 +149,6 @@ For `constexpr_math.hpp`, `pipe_utils.hpp`, and `unrolled_loop.hpp` see the READ
153149
154150
(Optional) The hardware compiles listed above can take several hours to complete; alternatively, you can download FPGA precompiled binaries (compatible with Linux* Ubuntu* 18.04) from [https://iotdk.intel.com/fpga-precompiled-binaries/latest/merge_sort.fpga.tar.gz](https://iotdk.intel.com/fpga-precompiled-binaries/latest/merge_sort.fpga.tar.gz).
155151
156-
### On Windows*
157-
158-
> **Note**: The Intel® PAC with Intel Arria® 10 GX FPGA and Intel® FPGA PAC D5005 (with Intel Stratix® 10 SX) do not yet support Windows*. Compiling to FPGA hardware on Windows* requires a third-party or custom Board Support Package (BSP) with Windows* support.
159-
160-
1. Change to the sample directory.
161-
2. Configure the build system for **Intel® PAC with Intel Arria® 10 GX FPGA**, which is the default
162-
```
163-
mkdir build
164-
cd build
165-
cmake -G "NMake Makefiles" ..
166-
```
167-
For the **Intel® FPGA PAC D5005 (with Intel Stratix® 10 SX)**, enter the following:
168-
```
169-
cmake -G "NMake Makefiles" .. -DFPGA_DEVICE=intel_s10sx_pac:pac_s10
170-
```
171-
3. Compile the design. (The provided targets match the recommended development flow.)
172-
173-
1. Compile for emulation (fast compile time, targets emulated FPGA device).
174-
```
175-
nmake fpga_emu
176-
```
177-
2. Compile for simulation (fast compile time, targets simulator FPGA device):
178-
```
179-
nmake fpga_sim
180-
```
181-
3. Generate the HTML performance report.
182-
```
183-
nmake report
184-
```
185-
The report resides at `merge_sort_report.a.prj/reports/report.html`.
186-
187-
4. Compile for FPGA hardware (longer compile time, targets FPGA device).
188-
```
189-
nmake fpga
190-
```
191-
> **Note**: If you encounter any issues with long paths when compiling under Windows*, you may have to create your ‘build’ directory in a shorter path, for example `c:\samples\build`. You can then run cmake from that directory, and provide cmake with the full path to your sample directory.
192-
193152
## Run the `Merge Sort` Program
194153
195154
### On Linux
@@ -206,22 +165,6 @@ For `constexpr_math.hpp`, `pipe_utils.hpp`, and `unrolled_loop.hpp` see the READ
206165
```
207166
./merge_sort.fpga
208167
```
209-
### On Windows
210-
211-
1. Run the sample on the FPGA emulator (the kernel executes on the CPU).
212-
```
213-
merge_sort.fpga_emu.exe
214-
```
215-
2. Run the sample on the FPGA simulator device:
216-
```
217-
set CL_CONTEXT_MPSIM_DEVICE_INTELFPGA=1
218-
merge_sort.fpga_sim.exe
219-
set CL_CONTEXT_MPSIM_DEVICE_INTELFPGA=
220-
```
221-
3. Run the sample on the FPGA device.
222-
```
223-
merge_sort.fpga.exe
224-
```
225168
226169
## Example Output
227170

0 commit comments

Comments
 (0)