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

Add map/unmap functionnality #131

Merged
merged 4 commits into from
Dec 15, 2022
Merged

Conversation

StRigaud
Copy link
Member

aborded here:

Add map/unmap buffer and image backend function.
Add push-pull benchmark test

A quick benchmark test shows that:

  • classic buffer push pull - 500Mb in 0.32s
  • Rect buffer push pull - 500Mb in 0.32s
  • M/UM buffer push pull - 500Mb in 0.62s

The functionnality is, at its current state, not interesting as we do a map/unmap at each operation (push, pull).
The speed gain is if we first map, process the data using kernel and so, then unmap when memory is done being used.
Such usage would demand more rewrite work than wanted for now, hence we post-pone this idea

@StRigaud StRigaud self-assigned this Dec 15, 2022
@StRigaud StRigaud merged commit 0ae9c2e into master Dec 15, 2022
@StRigaud StRigaud deleted the ADD--map/unmap-functionnality branch December 15, 2022 16:00
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