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

Draft: Experimental perfectly nested loop interface #479

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

artv3
Copy link
Member

@artv3 artv3 commented Sep 10, 2024

Summary

This PR tries out an experimental perfectly nested loop abstraction.

@artv3 artv3 changed the title Experimental perfectly nested loop interface Draft: Experimental perfectly nested loop interface Sep 10, 2024
startTimer();
for (RepIndex_type irep = 0; irep < run_reps; ++irep) {

#if 1
Copy link
Member

Choose a reason for hiding this comment

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

@artv3 do you plan to keep both options in the code? If so, I recommend using a descriptive macro definition name here instead of just '1' or '0' like we do here: https://github.com/LLNL/RAJAPerf/blob/develop/src/basic/NESTED_INIT-OMP.cpp#L43

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.

2 participants