This revision was automatically updated to reflect the committed changes.
Closed by commit rL326368: [OpenMP] Extend NVPTX SPMD implementation of
combined constructs (authored by cbertol, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/
ABataev added inline comments.
Comment at: include/clang/Driver/Options.td:1428
+def fopenmp_cuda_mode : Flag<["-"], "fopenmp-cuda-mode">, Group,
Flags<[CC1Option, NoArgumentUnused]>;
+def fno_openmp_cuda_mode : Flag<["-"], "fno-openmp-cuda-mode">,
Group, Flags<[NoArgumentUnuse
Hahnfeld added inline comments.
Comment at: lib/Driver/ToolChains/Clang.cpp:3976-3977
+ // cuda-mode flag
+ Args.AddLastArg(CmdArgs, options::OPT_fopenmp_cuda_mode,
+ options::OPT_fno_openmp_cuda_mode);
break;
I think most ot
ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.
LG, with some nits
Comment at: include/clang/Driver/Options.td:1428
+def fopenmp_cuda_mode : Flag<["-"], "fopenmp-cuda-mode">, Group,
Flags<[CC1Option, NoArgumentUnused]>;
carlo.bertolli created this revision.
carlo.bertolli added a reviewer: ABataev.
Herald added subscribers: guansong, jholewinski.
This patch extends the SPMD implementation to all target constructs and guards
this implementation under a new flag.
Repository:
rC Clang
https://reviews.llvm.org/