[all-commits] [llvm/llvm-project] 1c583c: [acc][mlir] Add functionality for categorizing Ope...

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Mon Feb 10 08:04:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c583c19bb7914a2686e245b7e1d14f82fe454eb
      https://github.com/llvm/llvm-project/commit/1c583c19bb7914a2686e245b7e1d14f82fe454eb
  Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp

  Log Message:
  -----------
  [acc][mlir] Add functionality for categorizing OpenACC variable types (#126167)

OpenACC specification describes the following type categories: scalar,
array, composite, and aggregate (which includes arrays, composites, and
others such as Fortran pointer/allocatable).

Decision for how to do implicit mapping is dependent on a variable's
category. Since acc dialect's only means of distinguishing between types
is through the interfaces attached, add API to be able to get the type
category.

In addition to defining the new API, attempt to provide a base
implementation for memref which matches what OpenACC spec describes.



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