Skip to content

Commit

Permalink
fix gs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Dec 17, 2024
1 parent 9a47a2f commit eb8f6a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/grayskull/test_cluster_gs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#include "tests/test_utils/device_test_utils.hpp"
#include "tests/test_utils/generate_cluster_desc.hpp"
#include "umd/device/cluster.h"
#include "umd/device/grayskull_implementation.h"
#include "umd/device/tt_cluster_descriptor.h"
#include "umd/device/tt_soc_descriptor.h"
#include "umd/device/wormhole_implementation.h"

using namespace tt::umd;

Expand Down Expand Up @@ -95,7 +95,7 @@ TEST(SiliconDriverGS, CustomSocDesc) {

TEST(SiliconDriverGS, HarvestingRuntime) {
auto get_static_tlb_index = [](tt_xy_pair target) {
int flat_index = target.y * tt::umd::wormhole::GRID_SIZE_X + target.x;
int flat_index = target.y * tt::umd::grayskull::GRID_SIZE_X + target.x;
if (flat_index == 0) {
return -1;
}
Expand Down Expand Up @@ -188,7 +188,7 @@ TEST(SiliconDriverGS, HarvestingRuntime) {

TEST(SiliconDriverGS, StaticTLB_RW) {
auto get_static_tlb_index = [](tt_xy_pair target) {
int flat_index = target.y * tt::umd::wormhole::GRID_SIZE_X + target.x;
int flat_index = target.y * tt::umd::grayskull::GRID_SIZE_X + target.x;
if (flat_index == 0) {
return -1;
}
Expand Down Expand Up @@ -403,7 +403,7 @@ TEST(SiliconDriverGS, MultiThreadedMemBar) { // this tests takes ~5 mins to run
// Memory barrier flags get sent to address 0 for all channels in this test

auto get_static_tlb_index = [](tt_xy_pair target) {
int flat_index = target.y * tt::umd::wormhole::GRID_SIZE_X + target.x;
int flat_index = target.y * tt::umd::grayskull::GRID_SIZE_X + target.x;
if (flat_index == 0) {
return -1;
}
Expand Down

0 comments on commit eb8f6a8

Please sign in to comment.