Skip to content

Commit 6b896c1

Browse files
authored
FPGA: Reduce the design size of the memory_attributes design in simulation (#1383)
1 parent d78160a commit 6b896c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

DirectProgramming/C++SYCL_FPGA/Tutorials/Features/memory_attributes/src/memory_attributes.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ using namespace sycl;
1212

1313
// constants for this tutorial
1414
constexpr size_t kRows = 8;
15+
#if defined(FPGA_SIMULATOR)
16+
// Use a smaller unroll factor when running simulation
17+
constexpr size_t kVec = 1;
18+
#else
1519
constexpr size_t kVec = 4;
20+
#endif
1621
constexpr size_t kMaxVal = 512;
1722
constexpr size_t kNumTests = 64;
1823
constexpr size_t kMaxIter = 8;

0 commit comments

Comments
 (0)