Skip to content

Conversation

chriselrod
Copy link
Collaborator

@chriselrod chriselrod commented Apr 26, 2021

To be inline with ArrayInterface's meaning (i.e., about memory layout), rather than use size_of_strides like Base Julia.
Using size_to_strides causes LoopVectorization to get incorrect answers when reinterpreting SubArrays.

@chriselrod chriselrod requested a review from Tokazama April 26, 2021 22:55
@codecov
Copy link

codecov bot commented Apr 26, 2021

Codecov Report

Merging #143 (1194195) into master (cd6e5d2) will increase coverage by 0.14%.
The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
+ Coverage   84.38%   84.53%   +0.14%     
==========================================
  Files          11       11              
  Lines        1531     1545      +14     
==========================================
+ Hits         1292     1306      +14     
  Misses        239      239              
Impacted Files Coverage Δ
src/stridelayout.jl 88.84% <92.85%> (+0.68%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd6e5d2...1194195. Read the comment docs.

Copy link
Member

@Tokazama Tokazama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chriselrod chriselrod merged commit 4ca0984 into master Apr 27, 2021
@SimonDanisch SimonDanisch deleted the reinterpretstridesthroughparent branch April 27, 2021 15:14
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