[all-commits] [llvm/llvm-project] cac4e2: [CUDA][HIP] Fix gpu.used.external

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon Apr 18 20:11:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cac4e2fe258239489c12dd5f153da3e69e17ebba
      https://github.com/llvm/llvm-project/commit/cac4e2fe258239489c12dd5f153da3e69e17ebba
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2022-04-18 (Mon, 18 Apr 2022)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/CodeGenCUDA/host-used-extern.cu

  Log Message:
  -----------
  [CUDA][HIP] Fix gpu.used.external

Rename gpu.used.external as __clang_gpu_used_external as ptxas does not
allow . in global variable name.

Fixes: https://github.com/llvm/llvm-project/issues/54934

Reviewed by: Joseph Huber, Artem Belevich

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




More information about the All-commits mailing list