[all-commits] [llvm/llvm-project] 10de21: [libomptarget][amdgpu] Fix truncation error for pa...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Thu May 13 09:32:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10de21720989166a6b51cbf48b21efacbb913f23
      https://github.com/llvm/llvm-project/commit/10de21720989166a6b51cbf48b21efacbb913f23
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip

  Log Message:
  -----------
  [libomptarget][amdgpu] Fix truncation error for partial wavefront

[libomptarget][amdgpu] Fix truncation error for partial wavefront

The partial barrier implementation involves one wavefront resetting and N-1
waiting. This change future proofs against launching with a number of threads
that is not a multiple of the wavefront size.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list