Skip to content

Commit df296d7

Browse files
authored
FPGA: Add the missing simulator selector to the CRR design. (#1398)
1 parent cff647b commit df296d7

File tree

1 file changed

+3
-1
lines changed
  • DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/crr/src

1 file changed

+3
-1
lines changed

DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/crr/src/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,9 @@ int main(int argc, char *argv[]) {
733733

734734
try {
735735

736-
#if FPGA_HARDWARE
736+
#if FPGA_SIMULATOR
737+
auto selector = sycl::ext::intel::fpga_simulator_selector_v;
738+
#elif FPGA_HARDWARE
737739
auto selector = sycl::ext::intel::fpga_selector_v;
738740
#else // #if FPGA_EMULATOR
739741
auto selector = sycl::ext::intel::fpga_emulator_selector_v;

0 commit comments

Comments
 (0)