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

OpenACC multicore + gpu in same binary #1761

Merged
merged 6 commits into from
Nov 14, 2024

Conversation

willend
Copy link
Contributor

@willend willend commented Nov 14, 2024

These changes allow targeting both gpu and multicore in the same binary when compiling OpenACC using Nvidia's nvc.

This can be potentially interesting for Grace Hopper where 72-core Arm processor is on the same board as an H100, "Funnel" mode would then allow execution of simulations in more efficient back-forth setups between (multi-threaded) CPU and GPU.

Relevant OPENACC flags for your mccode_config.json are:
"OACCFLAGS": "-fast -Minfo=accel -acc=gpu,multicore -gpu=managed -DOPENACC -DMULTICORE",

@willend
Copy link
Contributor Author

willend commented Nov 14, 2024

All checks OK, merging

@willend willend merged commit d652117 into McStasMcXtrace:main Nov 14, 2024
14 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.

1 participant