[all-commits] [llvm/llvm-project] 7efdc1: [mlir][nvvm] Add lowering of gpu.printf to nvvm

Thomas via All-commits all-commits at lists.llvm.org
Fri Jan 6 09:30:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7efdc117b1518bb11a74cf315b17d4cbb751de6c
      https://github.com/llvm/llvm-project/commit/7efdc117b1518bb11a74cf315b17d4cbb751de6c
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
    M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
    M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
    A mlir/test/Integration/GPU/CUDA/printf.mlir

  Log Message:
  -----------
  [mlir][nvvm] Add lowering of gpu.printf to nvvm

When converting to nvvm lowering gpu.printf to vprintf allows us to
support printing when running on cuda.

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




More information about the All-commits mailing list