[all-commits] [llvm/llvm-project] 710638: [flang][cuda] Lower kernel launch to fir.cuda_kern...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Feb 16 21:56:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7106389b25436538f0373484a8ab0428ea681410
      https://github.com/llvm/llvm-project/commit/7106389b25436538f0373484a8ab0428ea681410
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Lower/ConvertCall.cpp
    A flang/test/Lower/CUDA/cuda-kernel-calls.cuf

  Log Message:
  -----------
  [flang][cuda] Lower kernel launch to fir.cuda_kernel_launch (#81891)

This patch introduces a new `fir.cuda_kernel_launch` operation to
represents the call to CUDA kernels with the chervon notation. The
chevrons values in the parse tree can be scalar integer expr or dim3
derived type. The operation describes the grid/block values explicitly
as i32 values.

It lowers the parse-tree call to this new 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