[PATCH] D29647: [OpenMP] Extend CLANG target options with device offloading kind.
Gheorghe-Teodor Bercea via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 28 07:29:54 PDT 2017
gtbercea marked an inline comment as done.
gtbercea 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.
----------------
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.
Repository:
rL LLVM
https://reviews.llvm.org/D29647
More information about the cfe-commits
mailing list