Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View Implementation #2

Merged
merged 31 commits into from
Oct 12, 2023
Merged

View Implementation #2

merged 31 commits into from
Oct 12, 2023

Conversation

imrn99
Copy link
Owner

@imrn99 imrn99 commented Oct 12, 2023

  • Basic View implementation
  • Basic benchmarks added:
    • gemv: Vector-Matrix product computation; this puts numbers on the importance of a correct layout
    • view_init: compare initialization of views & usual vectors; allows to spot scaling issue
    • view_access: compare data access of views & usual vectors; allows to spot scaling issue

imrn99 added 30 commits October 6, 2023 09:12
scalar implementation usign the base structure does not seem trivial
generic traits made stride computing too much of a hassle
criterion produces a nice violin plot with performances for
on the layout
no variation between cases appear when dim changes
no performance loss caused by the convoluted Index<> implementation for
views
weird behavior on 3D unchecked accesses; cf. comments in code
issue lies with the blackbox?
@imrn99 imrn99 merged commit 4bc33b2 into master Oct 12, 2023
4 checks passed
@imrn99 imrn99 deleted the dev_view branch October 19, 2023 07:07
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