]> granicus.if.org Git - clang/commit
[CMake][OpenMP] Customize default offloading arch
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Tue, 17 Oct 2017 13:37:36 +0000 (13:37 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Tue, 17 Oct 2017 13:37:36 +0000 (13:37 +0000)
commit19e976a47167c7239e742fc508d644b714f10016
treeed6844ba12bf85b853bd28bdd2eb1ad4046ddf5a
parente10677d71bd8243f4e9e3358c7831646644c3860
[CMake][OpenMP] Customize default offloading arch

For the shuffle instructions in reductions we need at least sm_30
but the user may want to customize the default architecture.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315996 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
include/clang/Config/config.h.cmake
lib/Driver/ToolChains/Cuda.cpp
lib/Driver/ToolChains/Cuda.h