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

Unroll vectorisation #56

Closed
miili opened this issue Oct 22, 2023 · 1 comment
Closed

Unroll vectorisation #56

miili opened this issue Oct 22, 2023 · 1 comment

Comments

@miili
Copy link

miili commented Oct 22, 2023

Hi there,

awesome port and demonstrator. Have you compared the performance of vectorize and vectorize_unroll?

While tinkering around with demanding algos I saw that unrolling the partial loop 12x I got a 10% performance increase. Maybe enough to beat cpp? 😁

@tairov
Copy link
Owner

tairov commented Oct 22, 2023

Hi @miili ! Sounds amazing :)

I was keeping my eye on vectorize_unroll as well as to some other incredible features of Mojo , like autotune, tiles and alignment. But I didn't have bandwidth to try out all cases . It would be really cool if you can share a PR, I'd love to merge

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