Skip to content

Commit 0c3a036

Browse files
authored
FPGA: Force II=1 in Cholesky inversion IP (#2574)
This change forces the main compute loop of the Cholesky matrix inversion IP to have an II of 1.
1 parent abab8d6 commit 0c3a036

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

DirectProgramming/C++SYCL_FPGA/include/streaming_cholesky_inversion.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ struct StreamingCholeskyInversion {
164164
int diagonal_size = (kColumns > raw_latency ? kColumns : raw_latency) - 1;
165165
int col = diagonal_number;
166166
int row = 0;
167-
167+
168+
169+
[[intel::initiation_interval(1)]] // NO-FORMAT: Attribute
168170
[[intel::ivdep(raw_latency)]] // NO-FORMAT: Attribute
169171
for (int it = 0; it < kTotalIterations + kInitIterations; it++) {
170172
// Only perform work when in not dummy iterations
@@ -267,4 +269,4 @@ struct StreamingCholeskyInversion {
267269

268270
} // namespace fpga_linalg
269271

270-
#endif /* __STREAMING_CHOLESKY_INVERSION_HPP__ */
272+
#endif /* __STREAMING_CHOLESKY_INVERSION_HPP__ */

0 commit comments

Comments
 (0)