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

For info: TARGET flags for clang-based CCE for OpenMP target #82

Open
tomdeakin opened this issue Oct 21, 2020 · 1 comment
Open

For info: TARGET flags for clang-based CCE for OpenMP target #82

tomdeakin opened this issue Oct 21, 2020 · 1 comment
Labels

Comments

@tomdeakin
Copy link
Contributor

To target NVIDIA with OpenMP with the clang-based CCE, we need to do something like this:

make COMPILER=CRAY TARGET=NVIDIA EXTRA_FLAGS="-fopenmp -fopenmp-targets=nvptx64 -Xopenmp-target -march=sm_60"

@tomdeakin
Copy link
Contributor Author

  • it also seems to work with just -fopenmp and the right craype-accel module loaded
  • plain LLVM also works with -fopenmp-targets=nvptx64. CCE won't work with the longer -fopenmp-targets=nvptx64-nvidia-cuda

@tomdeakin tomdeakin changed the title Add TARGET flags for clang-based CCE for OpenMP target For info: TARGET flags for clang-based CCE for OpenMP target Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant