[Mlir-commits] [mlir] [MLIR] [OpenMP] Initial support for OMP ALLOCATE directive op. (PR #147900)

Raghu Maddhipatla llvmlistbot at llvm.org
Fri Jul 11 11:55:32 PDT 2025


raghavendhra wrote:

> How do you plan to use this allocate directive operation, given that this is a declarative directive, and should override the allocation of the native language dialect?

Yes, it is more targeted towards overriding default memory allocation and allocating variable or set of variables, especially useful in heterogeneous systems (e.g., CPU + GPU) or when dealing with performance tuning to give flexibility to programmer.

> 
> Is the name `allocate_dir` to prevent a clash with the `allocate` clause?

Yes, that is the primary reason for adding "_dir" sufix.


https://github.com/llvm/llvm-project/pull/147900


More information about the Mlir-commits mailing list