[PATCH] D29647: [OpenMP] Extend CLANG target options with device offloading kind.

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 28 07:34:09 PDT 2017


hfinkel added inline comments.


================
Comment at: lib/Driver/ToolChains/Cuda.cpp:435
+
+    // TODO: get the compute capability from offloading arguments when not
+    // using the default compute capability of sm_20.
----------------
gtbercea wrote:
> hfinkel wrote:
> > Why is this a TODO? Is the necessary information not currently available in the offloading arguments, or are we just not grabbing it in this patch?
> > 
> This is for a future patch in which we will grab the compute capability from a special flag. I believe there has already been some discussion on the dev mailing list as to what that flag should be but I don't think there was a general consensus as to how that flag should be named.
Which mailing list thread discussed this?


Repository:
  rL LLVM

https://reviews.llvm.org/D29647





More information about the cfe-commits mailing list