Consider buffers in matrix covering as free

This commit is contained in:
aletempiac 2024-01-12 14:50:34 +01:00
parent 7dcc10a254
commit 38e632a954
1 changed files with 4 additions and 0 deletions

View File

@ -945,6 +945,10 @@ private:
/* discard solutions with support over LUT size */
if ( cost > ps.lut_size )
continue;
/* buffers have zero cost */
if ( cost == 1 )
cost = 0;
float sort_cost = 0;
if constexpr ( UseHeuristic )