Skip to content

[NFI] Move vBlocks capping into getBlockIOTileSize<true>#6805

Merged
anmyachev merged 1 commit intomainfrom
whitneywhtsang/getBlockIOTileSize
May 1, 2026
Merged

[NFI] Move vBlocks capping into getBlockIOTileSize<true>#6805
anmyachev merged 1 commit intomainfrom
whitneywhtsang/getBlockIOTileSize

Conversation

@whitneywhtsang
Copy link
Copy Markdown
Contributor

Move the load vBlocks capping logic (MAX_WIDTH, HW limit of 4, GRF_SIZE) into getBlockIOTileSize using if constexpr (isLoad), eliminating duplication across LoadOpToBlockIOConversion, DescriptorLoadOpToBlockIOConversion, and Subgroup2DBlockLoadOpConversion.

@whitneywhtsang whitneywhtsang requested a review from etiotto May 1, 2026 03:52
@whitneywhtsang whitneywhtsang changed the title [NFI] Move vBlocks capping into getBlockIOTileSize<true> and clean up consumers [NFI] Move vBlocks capping into getBlockIOTileSize<true> May 1, 2026
… consumers

Move the load vBlocks capping logic (MAX_WIDTH, HW limit of 4, GRF_SIZE)
into getBlockIOTileSize<isLoad> using `if constexpr (isLoad)`, eliminating
duplication across LoadOpToBlockIOConversion,
DescriptorLoadOpToBlockIOConversion, and Subgroup2DBlockLoadOpConversion.

Signed-off-by: Whitney Tsang <whitney.tsang@intel.com>
@whitneywhtsang whitneywhtsang force-pushed the whitneywhtsang/getBlockIOTileSize branch from 5f068ba to 4379a18 Compare May 1, 2026 03:59
@anmyachev anmyachev merged commit 8ece9ef into main May 1, 2026
22 of 24 checks passed
@anmyachev anmyachev deleted the whitneywhtsang/getBlockIOTileSize branch May 1, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants