llvm-project
1c583c19 - [acc][mlir] Add functionality for categorizing OpenACC variable types (#126167)

Commit
269 days ago
[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.
Parents
Loading