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 resource to RAJA variants #490

Merged
merged 17 commits into from
Oct 31, 2024
Merged

Conversation

rhornung67
Copy link
Member

Summary

  • This PR adds a resource arg to all RAJA variant kernels where there was no resource.

@rhornung67 rhornung67 changed the title Task/rhornung67/add resource Add resource to RAJA variants Oct 30, 2024
Comment on lines +68 to +73
RAJA::kernel_resource<EXEC_POL>(
RAJA::make_tuple(RAJA::RangeSegment(0, num_d),
RAJA::RangeSegment(0, num_z),
RAJA::RangeSegment(0, num_g),
RAJA::RangeSegment(0, num_m)),
res,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation here is not consistent with the others. I kind of like it, but it is the odd one out.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it that way to avoid line wrapping in an 80 column window.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably ultimately indent them all this way for consistency.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhornung67 rhornung67 merged commit ebe577b into develop Oct 31, 2024
29 checks passed
@rhornung67 rhornung67 deleted the task/rhornung67/add-resource branch October 31, 2024 19:42
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.

3 participants