[all-commits] [llvm/llvm-project] c4a63b: [mlir][openacc] Switch numGangs to a variadic operand

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Jun 27 11:08:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4a63b8ee11f7e5a849f50d00018654c43046e3c
      https://github.com/llvm/llvm-project/commit/c4a63b8ee11f7e5a849f50d00018654c43046e3c
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/test/Dialect/OpenACC/invalid.mlir
    M mlir/test/Dialect/OpenACC/ops.mlir

  Log Message:
  -----------
  [mlir][openacc] Switch numGangs to a variadic operand

In the latest spec, the `num_gangs` clause accepts up to three
arguments. Update the dialect to swicth `numGangs` operands from
optional single operand to a variadic operand. The verifier limits
the number of operands to three as specified in the spec.

Reviewed By: razvanlupusoru

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




More information about the All-commits mailing list