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 UnrollHintTag for #pragma unroll and opencl_unroll_hint #783

Merged
merged 5 commits into from
Jul 28, 2023

Conversation

isuruf
Copy link
Collaborator

@isuruf isuruf commented Jun 3, 2023

Fixes #782

For C:

#pragma unroll

and for OpenCL

__attribute__((opencl_unroll_hint))

loopy/codegen/loop.py Outdated Show resolved Hide resolved
@isuruf isuruf changed the title Add UnrollPragmaTag for #pragma unroll Add UnrollHintTag for #pragma unroll and opencl_unroll_hint Jun 11, 2023
@isuruf
Copy link
Collaborator Author

isuruf commented Jun 11, 2023

This is ready for a review

@inducer inducer enabled auto-merge (squash) July 28, 2023 02:25
@inducer
Copy link
Owner

inducer commented Jul 28, 2023

Thanks!

@inducer inducer merged commit 00d10f2 into inducer:main Jul 28, 2023
16 checks passed
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.

Support pragma unroll
2 participants