[all-commits] [llvm/llvm-project] 0b2af1: [NFC][CUDA] Refactor registering device variable

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Wed Feb 3 11:30:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b2af1a2889423bb797856841ac81cf10d01c696
      https://github.com/llvm/llvm-project/commit/0b2af1a2889423bb797856841ac81cf10d01c696
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/CodeGen/CGCUDARuntime.h
    M clang/lib/CodeGen/CodeGenModule.cpp

  Log Message:
  -----------
  [NFC][CUDA] Refactor registering device variable

Extract registering device variable to CUDA runtime codegen function since it
will be called in multiple places.

Reviewed by: Artem Belevich

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




More information about the All-commits mailing list