Skip to content

Commit c5418e8

Browse files
bingliTTcfriedt
authored andcommitted
bh_arc: change harvested soft harvest ETH
We want to change the soft harvested ETHs to be ETH5 and ETH8 to make default harvested ETH more symmetrical Signed-off-by: Bing Li <[email protected]>
1 parent 7fc3af2 commit c5418e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/tenstorrent/bh_arc/harvesting.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ void CalculateHarvesting(void)
184184
/* Eth handling */
185185
/* Only enable 2 of 3 in eth {4,5,6} */
186186
if (FIELD_GET(GENMASK(6, 4), tile_enable.eth_enabled) == BIT_MASK(3)) {
187-
tile_enable.eth_enabled &= ~BIT(6);
187+
tile_enable.eth_enabled &= ~BIT(5);
188188
}
189189
/* Only enable 2 of 3 in eth {7,8,9} */
190190
if (FIELD_GET(GENMASK(9, 7), tile_enable.eth_enabled) == BIT_MASK(3)) {
191-
tile_enable.eth_enabled &= ~BIT(9);
191+
tile_enable.eth_enabled &= ~BIT(8);
192192
}
193193

194194
/* Soft harvesting for Tensix, ETH, GDDR, Tensix based on product spec */

0 commit comments

Comments
 (0)