Skip to content

Why non-decreasing dimension order on block ptr is not supported? #207

Answered by nhat-nguyen
Nullkooland asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the question! This check was introduced because our lowering doesn't take into account the order field at the moment; it prevents us from producing incorrect code because the conversion to memref.reinterpret_cast currently assumes row-major layout. When using increasing order on a row-major tensor, the behavior is as if there were an implicit transpose. Currently we're reworking some of the passes to support arbitrary pointer patterns. Once that is done, we would appreciate any help updating the structured-to-memref pass to take into account the order field.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Nullkooland
Comment options

Answer selected by Nullkooland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants