[all-commits] [llvm/llvm-project] f2cc04: [HIP] Fix --hip-version flag with 0 as component

Aaron Enye Shi via All-commits all-commits at lists.llvm.org
Fri Jun 11 09:25:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2cc0427b13ef10e67eed6eab9eefb58e8aef3d9
      https://github.com/llvm/llvm-project/commit/f2cc0427b13ef10e67eed6eab9eefb58e8aef3d9
  Author: Aaron En Ye Shi <enye.shi at gmail.com>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/test/Driver/hip-version.hip

  Log Message:
  -----------
  [HIP] Fix --hip-version flag with 0 as component

Allow the usage of minor version 0, for hip versions
such as 4.0. Change the default values when performing
version checks.

Reviewed By: yaxunl

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




More information about the All-commits mailing list