Skip to content

Commit

Permalink
Partitioned Viterbi kernel penalty structuer in the PE so it can now …
Browse files Browse the repository at this point in the history
…successfully unroll the PEs.
  • Loading branch information
ioeddk committed Jun 5, 2024
1 parent 1165ff9 commit 7c0615f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kernels/viterbi/kernel_viterbi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ void Viterbi::PE::Compute(char_t local_query_val,
score_vec_t &write_score,
tbp_t &write_traceback)
{

// These two pragma needed to be put here to allow multiple access to the transition matrix.
// Remove those two will result in PE unroll failure.
#pragma HLS array_partition variable = penalties.transition dim = 0 type = complete
#pragma HLS array_partition variable = penalties dim = 0 type=complete

/*
* Layer 0: Vi
Expand Down

0 comments on commit 7c0615f

Please sign in to comment.