Skip to content

Commit 022fed4

Browse files
FPGA: Reduce test size from 64 to 2 for memory_attributes simulator target (#1390)
1 parent 7a2c300 commit 022fed4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ constexpr size_t kVec = 1;
1919
constexpr size_t kVec = 4;
2020
#endif
2121
constexpr size_t kMaxVal = 512;
22+
#if defined (FPGA_SIMULATOR)
23+
constexpr size_t kNumTests = 2;
24+
#else
2225
constexpr size_t kNumTests = 64;
26+
#endif
2327
constexpr size_t kMaxIter = 8;
2428

2529
// Forward declare the kernel name in the global scope.

0 commit comments

Comments
 (0)