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

Adding $(OPENACC) build variable #8

Open
wants to merge 1 commit into
base: atmosphere/gpu
Choose a base branch
from

Conversation

cponder
Copy link

@cponder cponder commented Oct 17, 2017

(This goes with the analogous change to src/Makefile. I think they'll be bundled into the same pull-request).
The OpenACC flags are necessary to compile the files for GPU.
In the top-level Makefile, you may want to duplicate the "pgi" target as "pgi-openacc" and add this line

OPENACC = -acc -Minfo=accel -ta=tesla:cc60,cuda8.0

I recommend cc60 & cuda8.0 for now because we're working mainly with Pascal's and the cuda9.0 is too new to rely on.
I'll be setting the $(OPENACC) variable in my top-level build script ("thin layer").

(This goes with the analogous change to src/Makefile. I *think* they'll be bundled into the same pull-request).
The OpenACC flags are necessary to compile the files for GPU.
In the top-level Makefile, you may want to duplicate the "pgi" target as "pgi-openacc" and add this line

OPENACC = -acc -Minfo=accel -ta=tesla:cc60,cuda8.0

I recommend cc60 & cuda8.0 for now because we're working mainly with Pascal's and the cuda9.0 is too new to rely on.
I'll be setting the $(OPENACC) variable in my top-level build script ("thin layer").
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