Skip to content

Fix scalar indexing on TileArrays and add codegen test#94

Open
AntonOresten wants to merge 2 commits intoJuliaGPU:mainfrom
AntonOresten:tilearray-getindex
Open

Fix scalar indexing on TileArrays and add codegen test#94
AntonOresten wants to merge 2 commits intoJuliaGPU:mainfrom
AntonOresten:tilearray-getindex

Conversation

@AntonOresten
Copy link
Contributor

Fix getindex on TileArrays by correcting Val(shape) -> shape in the make_partition_view call and passing nothing explicitly as the 4th arg to match the intrinsic being 4-arg. Add execution test using scalar indexing as a dynamic loop bound, and a codegen test verifying the emitted IR.

Not testing setindex! on TileArray yet, but this PR is just a targeted fix for getindex.

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