[all-commits] [llvm/llvm-project] 4d20a4: [MLIR][OpenMP] Add host_eval clause to omp.target

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Dec 4 05:16:34 PST 2024


  Branch: refs/heads/users/skatrak/host-eval-02-mlir
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d20a42bc7b9f93efab561dd931a31867a928829
      https://github.com/llvm/llvm-project/commit/4d20a42bc7b9f93efab561dd931a31867a928829
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-12-04 (Wed, 04 Dec 2024)

  Changed paths:
    M mlir/docs/Dialects/OpenMPDialect/_index.md
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    M mlir/test/Target/LLVMIR/openmp-todo.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Add host_eval clause to omp.target

This patch adds the `host_eval` clause to the `omp.target` operation.
Additionally, it updates its op verifier to make sure all uses of block
arguments defined by this clause fall within one of the few cases where they
are allowed.

MLIR to LLVM IR translation fails on translation of this clause with a
not-yet-implemented error.


  Commit: 27ffa9f980cc7c6922f188417b708c6a9d8121f2
      https://github.com/llvm/llvm-project/commit/27ffa9f980cc7c6922f188417b708c6a9d8121f2
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-12-04 (Wed, 04 Dec 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  More robust kernel type detection


Compare: https://github.com/llvm/llvm-project/compare/26fbb25720cf...27ffa9f980cc

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