File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
DirectProgramming/C++SYCL_FPGA/Tutorials/DesignPatterns/zero_copy_data_transfer Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,10 @@ else()
54
54
# Check if the target is a BSP
55
55
if (IS_BSP MATCHES "1" )
56
56
set (IS_BSP "1" )
57
+ set (BSP_FLAG "-DIS_BSP" )
57
58
else ()
58
59
set (IS_BSP "0" )
60
+ set (BSP_FLAG "" )
59
61
message (STATUS "The selected target ${FPGA_DEVICE} is assumed to be an FPGA part number, so USM will be enabled by default." )
60
62
message (STATUS "If the target is actually a BSP that does not support USM, run cmake with -DIS_BSP=1." )
61
63
endif ()
@@ -88,7 +90,7 @@ endif()
88
90
set (USER_FPGA_FLAGS ${USER_FPGA_FLAGS} )
89
91
90
92
# Use cmake -DUSER_FLAGS=<flags> to set extra flags for general compilation.
91
- set (USER_FLAGS ${USER_FLAGS} ;-D${DEVICE_FLAG};${HYPER_FLAG} )
93
+ set (USER_FLAGS ${USER_FLAGS} ;-D${DEVICE_FLAG};${HYPER_FLAG};${BSP_FLAG} )
92
94
93
95
# Use cmake -DUSER_INCLUDE_PATHS=<paths> to set extra paths for general
94
96
# compilation.
You can’t perform that action at this time.
0 commit comments