Skip to content

Conversation

bluss
Copy link
Member

@bluss bluss commented May 16, 2021

I used cargo llvm-lines with the examples, and factored out some functionality so that it
can be shared better between different generic instantiations.

This also deprecates (but does not remove) the method RawData::_data_slice since it could in theory be in use by someone, even if it's not public API.

Factor out the code that checks C/F memory layout into standalone
functions. These functions will be more useful on their own. Also factor
out the NdProducer Layout computation function, so that more of that
code is shared between generic instatiations.

Tested using cargo llvm-lines.
@bluss bluss added this to the 0.15.2 milestone May 16, 2021
Debloat by pushing the code down into the DataReprs, this avoids
instantiating the pointer check code for the views (where it can't do
anything anyway).
@bluss bluss merged commit 71fba9b into master May 17, 2021
@bluss bluss deleted the layout branch May 17, 2021 18:53
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