[all-commits] [llvm/llvm-project] e13246: [HIP] Add HIP scope atomic operations

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Tue Nov 23 07:14:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e13246a2ec3dfc13838d43099ca9111c780d2c5e
      https://github.com/llvm/llvm-project/commit/e13246a2ec3dfc13838d43099ca9111c780d2c5e
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/Basic/Builtins.def
    M clang/include/clang/Basic/SyncScope.h
    M clang/lib/AST/Expr.cpp
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGenCUDA/atomic-ops.cu

  Log Message:
  -----------
  [HIP] Add HIP scope atomic operations

Add an AtomicScopeModel for HIP and support for OpenCL builtins
that are missing in HIP.

Patch by: Michael Liao

Revised by: Anshil Ghandi

Reviewed by: Yaxun Liu

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




More information about the All-commits mailing list