[all-commits] [llvm/llvm-project] 481862: [flang][cuda] Add cuf.shared_memory operation (#13...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Mar 14 15:43:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4818623924a6846d17196a149b633b6bc3316b83
      https://github.com/llvm/llvm-project/commit/4818623924a6846d17196a149b633b6bc3316b83
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/test/Fir/cuf.mlir

  Log Message:
  -----------
  [flang][cuda] Add cuf.shared_memory operation (#131392)

Introduce `cuf.shared_memory` operation. The operation is used to get
the pointer in shared memory for a specific variable. The shared memory
is materialized as a global in address space 3 and the different
variables are pointing to it at different offset.

Follow up patches will add lowering and conversion of this operation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list