Skip to content

Commit 5a99764

Browse files
authored
FPGA: improve the minimum_latency cmake device detection (#1399)
1 parent 7302b62 commit 5a99764

File tree

1 file changed

+2
-2
lines changed
  • DirectProgramming/C++SYCL_FPGA/Tutorials/Features/optimization_levels/minimum_latency/src

1 file changed

+2
-2
lines changed

DirectProgramming/C++SYCL_FPGA/Tutorials/Features/optimization_levels/minimum_latency/src/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ if(NOT DEFINED FPGA_DEVICE)
2727
\nPlease refer to the README for information on target selection.")
2828
else()
2929
string(TOLOWER ${FPGA_DEVICE} FPGA_DEVICE_NAME)
30-
if(FPGA_DEVICE_NAME MATCHES ".*a10*")
30+
if(FPGA_DEVICE_NAME MATCHES ".*a10*" OR FPGA_DEVICE_NAME MATCHES ".*arria10.*")
3131
set(DEVICE_FLAG "A10")
3232
set(MANUAL_REVERT_FLAGS "-Xssfc-exit-fifo-type=default")
33-
elseif(FPGA_DEVICE_NAME MATCHES ".*s10*")
33+
elseif(FPGA_DEVICE_NAME MATCHES ".*s10*" OR FPGA_DEVICE_NAME MATCHES ".*stratix10.*")
3434
set(DEVICE_FLAG "S10")
3535
set(MANUAL_REVERT_FLAGS "-Xshyper-optimized-handshaking=on -Xssfc-exit-fifo-type=default")
3636
elseif(FPGA_DEVICE_NAME MATCHES ".*agilex*")

0 commit comments

Comments
 (0)