[all-commits] [llvm/llvm-project] d32170: [CUDA] Warn about unsupported CUDA SDK version onl...

Artem Belevich via All-commits all-commits at lists.llvm.org
Mon Mar 23 08:11:30 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d32170dbd5b0d54436537b6b75beaf44324e0c28
      https://github.com/llvm/llvm-project/commit/d32170dbd5b0d54436537b6b75beaf44324e0c28
  Author: Artem Belevich <tra at google.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Driver/ToolChains/Cuda.h
    M clang/test/Driver/cuda-version-check.cu

  Log Message:
  -----------
  [CUDA] Warn about unsupported CUDA SDK version only if it's used.

This fixes an issue with clang issuing a warning about unknown CUDA SDK if it's
detected during non-CUDA compilation.

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

(cherry picked from commit eb2ba2ea953b5ea73cdbb598f77470bde1c6a011)




More information about the All-commits mailing list