Skip to content

Commit

Permalink
#0: Enable UnpackTilize Unit Test for BH (#14564)
Browse files Browse the repository at this point in the history
* #0: Enable UnpackTilize* tests for BH
  • Loading branch information
ncvetkovicTT authored Nov 1, 2024
1 parent 9cb348e commit 4d7730d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ TEST_F(DeviceFixture, ComputeUnpackTilize) {
vector<vector<uint32_t> > num_tiles = {{1, 1}, {1, 2}, {2, 1}, {1, 4}, {2, 2}, {4, 1}};
for(auto num_tile : num_tiles) {
for (bool fp32_dest_acc_en : {true, false}) {
// FP32 dest acc not possible for GS and unpack_tilize hangs on BH -> tt-metal/#13640
if ((fp32_dest_acc_en == true) && (this->arch_ != tt::ARCH::WORMHOLE_B0)) continue;
// FP32 dest acc not possible for GS
if ((fp32_dest_acc_en == true) && (this->arch_ == tt::ARCH::GRAYSKULL)) continue;
for (bool dst_full_sync_en : {true, false}) {
unit_tests::compute::tilize::TestConfig test_config = {
.dst_full_sync_en = dst_full_sync_en,
Expand Down Expand Up @@ -353,8 +353,8 @@ TEST_F(DeviceFixture, ComputeUnpackTilizeShortInit) {
vector<vector<uint32_t> > num_tiles = {{1, 1}, {1, 2}, {2, 1}, {1, 4}, {2, 2}, {4, 1}};
for(auto num_tile : num_tiles) {
for (bool fp32_dest_acc_en : {true, false}) {
// FP32 dest acc not possible for GS and unpack_tilize hangs on BH -> tt-metal/#13640
if ((fp32_dest_acc_en == true) && (this->arch_ != tt::ARCH::WORMHOLE_B0)) continue;
// FP32 dest acc not possible for GS
if ((fp32_dest_acc_en == true) && (this->arch_ == tt::ARCH::GRAYSKULL)) continue;
for (bool dst_full_sync_en : {true, false}) {
unit_tests::compute::tilize::TestConfig test_config = {
.short_init = true,
Expand Down

0 comments on commit 4d7730d

Please sign in to comment.