[all-commits] [llvm/llvm-project] 133db4: [libomptarget] Implement most hip atomic functions...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Wed Mar 4 09:56:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 133db44996a80db957360a0b727479d4a8d4d1a2
      https://github.com/llvm/llvm-project/commit/133db44996a80db957360a0b727479d4a8d4d1a2
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/amdgcn/src/hip_atomics.h

  Log Message:
  -----------
  [libomptarget] Implement most hip atomic functions in terms of intrinsics

Summary:
[libomptarget] Implement hip atomic functions in terms of intrinsics

All but atomicInc can be implemented using type generic clang intrinsics.
There is not yet a corresponding intrinsic for atomicInc in clang, only one in
LLVM. This patch leaves atomicInc as an unresolved symbol.

Reviewers: jdoerfert, ABataev, hfinkel, grokos, arsenm

Reviewed By: arsenm

Subscribers: sri, saiislam, wdng, jvesely, mgorny, jfb, openmp-commits

Tags: #openmp

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




More information about the All-commits mailing list