Skip to content

Commit

Permalink
#12448: Update 1d matmul sweep test to use CoreRangeSet for core rang…
Browse files Browse the repository at this point in the history
…e parameters
  • Loading branch information
bbradelTT committed Sep 11, 2024
1 parent 226a14b commit c79568c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class TensorMemoryConfigs(enum.Enum):
memory_layout=ttnn.TensorMemoryLayout.WIDTH_SHARDED,
buffer_type=ttnn.BufferType.L1,
shard_spec=ttnn.ShardSpec(
ttnn.num_cores_to_corerange_set(28, core_grid, row_wise=True),
ttnn.CoreRangeSet(ttnn.num_cores_to_corerange_set(28, core_grid, row_wise=True)),
(64, IN0_INNER_DIM_PER_CORE),
ttnn.ShardOrientation.ROW_MAJOR,
False,
Expand Down Expand Up @@ -105,7 +105,7 @@ class TensorMemoryConfigs(enum.Enum):
memory_layout=ttnn.TensorMemoryLayout.WIDTH_SHARDED,
buffer_type=ttnn.BufferType.L1,
shard_spec=ttnn.ShardSpec(
ttnn.num_cores_to_corerange_set(35, core_grid, row_wise=True),
ttnn.CoreRangeSet(ttnn.num_cores_to_corerange_set(35, core_grid, row_wise=True)),
(64, IN0_INNER_DIM_PER_CORE),
ttnn.ShardOrientation.ROW_MAJOR,
False,
Expand Down Expand Up @@ -134,7 +134,7 @@ class TensorMemoryConfigs(enum.Enum):
memory_layout=ttnn.TensorMemoryLayout.WIDTH_SHARDED,
buffer_type=ttnn.BufferType.L1,
shard_spec=ttnn.ShardSpec(
ttnn.num_cores_to_corerange_set(28, core_grid, row_wise=True),
ttnn.CoreRangeSet(ttnn.num_cores_to_corerange_set(28, core_grid, row_wise=True)),
(64, IN0_INNER_DIM_PER_CORE),
ttnn.ShardOrientation.ROW_MAJOR,
False,
Expand Down Expand Up @@ -163,7 +163,7 @@ class TensorMemoryConfigs(enum.Enum):
memory_layout=ttnn.TensorMemoryLayout.WIDTH_SHARDED,
buffer_type=ttnn.BufferType.L1,
shard_spec=ttnn.ShardSpec(
ttnn.num_cores_to_corerange_set(30, core_grid, row_wise=True),
ttnn.CoreRangeSet(ttnn.num_cores_to_corerange_set(30, core_grid, row_wise=True)),
(64, IN0_INNER_DIM_PER_CORE),
ttnn.ShardOrientation.ROW_MAJOR,
False,
Expand Down

0 comments on commit c79568c

Please sign in to comment.