================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to