Skip to content

Feat/v058 reinterpret cmpmode backfill - #15

Open
ziyang-cheng wants to merge 4 commits into
LinxISA:temp/shared-tload-integration-20260811from
ziyang-cheng:feat/v058-reinterpret-cmpmode-backfill
Open

Feat/v058 reinterpret cmpmode backfill#15
ziyang-cheng wants to merge 4 commits into
LinxISA:temp/shared-tload-integration-20260811from
ziyang-cheng:feat/v058-reinterpret-cmpmode-backfill

Conversation

@ziyang-cheng

Copy link
Copy Markdown

No description provided.

ziyang-cheng and others added 4 commits August 17, 2026 10:14
Add CompactMode enum (layout.hpp) and forward-declare Compact,
LogicalTileBytes, TilesizeCode, IsValidActiveSize on the Tile class so the
incoming reinterpret_tile view (PR 376b27a) can forward SourceTile::* without
pulling in the full v0.58 header-alignment commit. LogicalTileBytes equals the
existing kBytes formula; Compact is fixed at Null (no compact tiles on this
baseline). Members are inert outside the reinterpret view: downstream ops read
tile_type_traits<TileDType>::IsValidActiveSize.
Cherry-picked onto abe8411 (headers zero-conflict; only test/tileop_api/compile.all needed a trivial union merge).

(cherry picked from commit 4e977ad)

Co-Authored-By: Claude Opus 4 <[email protected]>
TCVT_T was the only TEPL elementwise op that did not emit the lb2
(physical column width) shape descriptor, unlike TABS/TEXP/TRECIP/
TADDS/TMULS/TANDS/TMAX/TROWMAX. For a boxed valid-col-1 tile whose
last producer is TCVT, the emulator falls back to physicalCol=validCol
(Block.cpp), collapsing col to 1; a subsequent TSTORE declaring
tile::Cols then fails IsCompatibleDataTile (col 1 != Cols).

Append `B.DIM zero, %c7, ->lb2` with input `"i"(tile_shape_out::Cols)`
to align TCVT_T with the other elementwise ops.

Co-Authored-By: Claude Opus 4 <[email protected]>
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.

1 participant