[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:51:55 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:
> > 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?
> I believe it was openmp-dev. The proposal was initially posted by Gregory Rodgers.
Can you please find it and post the link from here: http://lists.llvm.org/pipermail/openmp-dev/

I do recall discussing this at some point somewhere, but I'm not finding it in my email.


Repository:
  rL LLVM

https://reviews.llvm.org/D29647





More information about the cfe-commits mailing list