[flang-commits] [libc] [clang] [lld] [libcxx] [lldb] [llvm] [clang-tools-extra] [flang] [OpenACC] Initial commits to support OpenACC (PR #70234)

Erich Keane via flang-commits flang-commits at lists.llvm.org
Mon Nov 13 09:00:57 PST 2023


================
@@ -4001,6 +4008,14 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
                         (T.isNVPTX() || T.isAMDGCN()) &&
                         Args.hasArg(options::OPT_fopenmp_cuda_mode);
 
+  // OpenACC Configuration.
+  if (Args.hasArg(options::OPT_fopenacc)) {
+    Opts.OpenACC = true;
----------------
erichkeane wrote:

I likely will in the future, however as we currently don't have support for multiple versions of OpenACC, we only need 'true' or 'false'.  So for now, it seems prudent to not do that yet (as it won't be used).

https://github.com/llvm/llvm-project/pull/70234


More information about the flang-commits mailing list