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 option GPU_PHYSICS #322

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added -foffload
pchakraborty committed Jun 30, 2023
commit 718762fb16b19128f29228e5e2309a69d3ca9043
2 changes: 1 addition & 1 deletion compiler/flags/GNU_Fortran.cmake
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ set (NO_RANGE_CHECK "-fno-range-check")

set (OPENACC_COMPILE "-fopenacc")
set (OPENACC_OFFLOAD_TARGETS "-foffload=nvptx-none")
set (OPENACC_OFFLOAD_OPTIONS "-lgfortran -lgomp -lm")
set (OPENACC_OFFLOAD_OPTIONS "-foffload=-lgfortran -lgomp -lm")

cmake_host_system_information(RESULT proc_description QUERY PROCESSOR_DESCRIPTION)