[all-commits] [llvm/llvm-project] 16140f: [mlir][ROCDL] Add synchronization primitives (#80888)

Giuseppe Rossini via All-commits all-commits at lists.llvm.org
Tue Feb 13 10:30:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16140ff219b68f61fedf92df13019d89a4990a47
      https://github.com/llvm/llvm-project/commit/16140ff219b68f61fedf92df13019d89a4990a47
  Author: Giuseppe Rossini <giuseppe.rossini at amd.com>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
    M mlir/test/Dialect/LLVMIR/rocdl.mlir
    M mlir/test/Target/LLVMIR/rocdl.mlir

  Log Message:
  -----------
  [mlir][ROCDL] Add synchronization primitives (#80888)

This PR adds two LLVM intrinsics to MLIR:
- llvm.amdgcn.s.setprio which sets the priority of a wave for the GPU
scheduler
- llvm.amdgcn.sched.barrier which sets a software barrier so that the
scheduler cannot move instructions around




More information about the All-commits mailing list