[PATCH] D52377: [HIP] Support early finalization of device code for -fno-gpu-rdc

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 1 16:05:35 PDT 2018


tra added inline comments.


================
Comment at: include/clang/Driver/Options.td:587-589
+def fgpu_rdc : Flag<["-"], "fgpu-rdc">, Flags<[CC1Option]>,
   HelpText<"Generate relocatable device code, also known as separate compilation mode.">;
+def fno_gpu_rdc : Flag<["-"], "fno-gpu-rdc">;
----------------
Considering that -f[no-]cuda-rdc has been around for a while, we should still keep it around as an alias to -f[no-]gpu-rdc


https://reviews.llvm.org/D52377





More information about the cfe-commits mailing list