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

Artem Belevich via All-commits all-commits at lists.llvm.org
Thu Mar 12 10:04:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eb2ba2ea953b5ea73cdbb598f77470bde1c6a011
      https://github.com/llvm/llvm-project/commit/eb2ba2ea953b5ea73cdbb598f77470bde1c6a011
  Author: Artem Belevich <tra at google.com>
  Date:   2020-03-12 (Thu, 12 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




More information about the All-commits mailing list