[all-commits] [llvm/llvm-project] d88055: [CUDA][HIP] Allow non-ODR use of host var in device

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon Apr 19 11:46:00 PDT 2021


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

  Changed paths:
    M clang/lib/Headers/__clang_hip_math.h
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/CodeGenCUDA/device-use-host-var.cu
    M clang/test/Headers/hip-header.hip
    M clang/test/SemaCUDA/device-use-host-var.cu

  Log Message:
  -----------
  [CUDA][HIP] Allow non-ODR use of host var in device

Reviewed by: Artem Belevich, Richard Smith

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




More information about the All-commits mailing list