diff --git a/DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/gzip/README.md b/DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/gzip/README.md index ce1e0c4442..a1c7930ceb 100644 --- a/DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/gzip/README.md +++ b/DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/gzip/README.md @@ -239,7 +239,7 @@ Performance results are based on testing as of October 27, 2020. | Argument | Description |:--- |:--- -| `` | Specifies the file to be compressed.
Use an 120+ MB file to achieve peak performance.
Use an 80 KB file for Low Latency variant. +| `` | Specifies the file to be compressed.
Use an 120+ MB file to achieve peak performance.
Use an 80 KB file for Low Latency variant.
Use a smaller file such as an 100 B file if the simulator flow is taking too long. | `-o=` | Specifies the name of the output file. The default name of the output file is `.gz`.
When using two engines, the single `` is fed to both engines, yielding two identical output files, using `` as the basis for the filenames. ### On Linux @@ -253,7 +253,10 @@ Performance results are based on testing as of October 27, 2020. ``` CL_CONTEXT_MPSIM_DEVICE_INTELFPGA=1 ./gzip.fpga_sim -o= ``` - + For the smaller file option. + ``` + CL_CONTEXT_MPSIM_DEVICE_INTELFPGA=1 ./gzip.fpga_sim ../data/100b.txt -o= + ``` 3. Run the sample on the FPGA device (only if you ran `cmake` with `-DFPGA_DEVICE=:`). ``` aocl initialize acl0 pac_s10_usm @@ -271,6 +274,12 @@ Performance results are based on testing as of October 27, 2020. gzip.fpga_sim.exe -o= set CL_CONTEXT_MPSIM_DEVICE_INTELFPGA= ``` + For the smaller file option. + ``` + set CL_CONTEXT_MPSIM_DEVICE_INTELFPGA=1 + gzip.fpga_sim.exe ../data/100b.txt -o= + set CL_CONTEXT_MPSIM_DEVICE_INTELFPGA= + ``` 3. Run the sample on the FPGA device (only if you ran `cmake` with `-DFPGA_DEVICE=:`). ``` aocl initialize acl0 pac_s10_usm diff --git a/DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/gzip/data/100b.txt b/DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/gzip/data/100b.txt new file mode 100644 index 0000000000..6f22c652a5 --- /dev/null +++ b/DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/gzip/data/100b.txt @@ -0,0 +1 @@ +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA