]> granicus.if.org Git - clang/commit
[CUDA] Add --ptxas-path= flag.
authorJustin Lebar <jlebar@google.com>
Thu, 15 Dec 2016 18:44:57 +0000 (18:44 +0000)
committerJustin Lebar <jlebar@google.com>
Thu, 15 Dec 2016 18:44:57 +0000 (18:44 +0000)
commit861d0e5a58a2cea3b02f0911cb6281727220b188
tree61771e116167f3f7d6656aa5003eb804e0b490ec
parentb4ad59239d068065b021f587b8bd67776fec71a6
[CUDA] Add --ptxas-path= flag.

Summary:
This lets you build with one CUDA installation but use ptxas from
another install.

This is useful e.g. if you want to avoid bugs in an old ptxas without
actually upgrading wholesale to a newer CUDA version.

Reviewers: tra

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D27788

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289847 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/cuda-ptxas-path.cu [new file with mode: 0644]