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

Improving the speed with OpenMP #5

Open
jgueytat opened this issue May 24, 2016 · 2 comments
Open

Improving the speed with OpenMP #5

jgueytat opened this issue May 24, 2016 · 2 comments

Comments

@jgueytat
Copy link
Contributor

jgueytat commented May 24, 2016

I guess we might improve the speed of the loop with OpenMP.
How do you test the performance? If you have anything ready for testing I would be glad to give it a try. Otherwise I just make another pull request that you can try on your side. :)

-Julien

@jgueytat jgueytat changed the title Speed improvement Improving the speed with OpenMP May 24, 2016
@AndrewFromMelbourne
Copy link
Owner

You are welcome to fork the code. I doubt you will find a convincing performance boost using OpenMP, and it would almost certainly decrease performance on the single core Raspberry Pi models.

The use-case for this code is copying the Raspberry Pi display for a SPI TFT display. In my limited performance testing, the bottle neck was the copying of data to the SPI interface of the TFT display.

@jgueytat
Copy link
Contributor Author

Great information!
In that case the fewest data we copy the best it is... Which is why the double buffering should be kept at least instead of basic copy. I'll keep you informed. :)

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

No branches or pull requests

2 participants