Skip to content

Commit a246049

Browse files
authored
Remove -g0 from emu flags (oneapi-src#1001)
1 parent 1ee0c2a commit a246049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DirectProgramming/DPC++FPGA/ReferenceDesigns/gzip/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ message(STATUS "NUM_REORDER=${NUM_REORDER}")
9797
# 1. The "compile" stage compiles the device code to an intermediate representation (SPIR-V).
9898
# 2. The "link" stage invokes the compiler's FPGA backend before linking.
9999
# For this reason, FPGA backend flags must be passed as link flags in CMake.
100-
set(EMULATOR_COMPILE_FLAGS "-Wall ${WIN_FLAG} -fintelfpga -g0 -DNUM_ENGINES=${NUM_ENGINES} -DFPGA_EMULATOR")
100+
set(EMULATOR_COMPILE_FLAGS "-Wall ${WIN_FLAG} -fintelfpga -DNUM_ENGINES=${NUM_ENGINES} -DFPGA_EMULATOR")
101101
set(EMULATOR_LINK_FLAGS "-fintelfpga -DNUM_ENGINES=${NUM_ENGINES}")
102102
set(HARDWARE_COMPILE_FLAGS "-Wall ${WIN_FLAG} -fintelfpga -DNUM_ENGINES=${NUM_ENGINES}")
103103
set(HARDWARE_LINK_FLAGS "-fintelfpga -Xshardware -Xsparallel=2 -Xsopt-arg=\"-nocaching\" -Xsboard=${FPGA_BOARD} -DNUM_ENGINES=${NUM_ENGINES} ${USER_HARDWARE_FLAGS}")

0 commit comments

Comments
 (0)