Skip to content

Conversation

@copybara-service
Copy link

[pallas:sc] Lower ref indexing to memref.subview instead of tpu.memref_slice and tpu.memref_squeeze

TPU dialect ops are designed to be used with tiled layouts, which are not yet
fully adopted by the SC compiler.

In the future, we would probably want a pass which rewrites memref.subview
into tpu.memref_slice and tpu.memref_squeeze and replaces the strided layout
with tiled.

…f_slice and tpu.memref_squeeze

TPU dialect ops are designed to be used with tiled layouts, which are not yet
fully adopted by the SC compiler.

In the future, we would probably want a pass which rewrites memref.subview
into tpu.memref_slice and tpu.memref_squeeze and replaces the strided layout
with tiled.

PiperOrigin-RevId: 825583835
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