diff options
author | Vijay Kandiah <vkandiah@nvidia.com> | 2024-07-09 15:58:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 15:58:36 -0500 |
commit | 8d5ba7598ace4c195e673aaab2b2ccadff3ad48f (patch) | |
tree | 12677e875e2a246738efc48e0d5ed82b8dc82b07 /llvm/tools/llvm-profdata/llvm-profdata.cpp | |
parent | e22ebee5a3bb56cb7f9a9513f01fb7ed24b23f48 (diff) | |
download | llvm-8d5ba7598ace4c195e673aaab2b2ccadff3ad48f.zip llvm-8d5ba7598ace4c195e673aaab2b2ccadff3ad48f.tar.gz llvm-8d5ba7598ace4c195e673aaab2b2ccadff3ad48f.tar.bz2 |
[mlir][openacc] Added custom builder for acc::ParallelOp (#98191)
This change adds a custom builder for `acc::ParallelOp`. This enables
users to only specify the operands they would need for their
`acc::ParallelOp` while building it. They can specify nothing to create
an empty `acc.parallel`, or all of the 11 operands listed
[here](https://mlir.llvm.org/docs/Dialects/OpenACCDialect/#operands-27),
or anywhere in between following the specified order in this custom
builder. Unspecified operands are left empty. Additionally, users can
later set the optional attributes such as `numGangsDeviceType` using the
available attribute setters for `acc::ParallelOp`.
Diffstat (limited to 'llvm/tools/llvm-profdata/llvm-profdata.cpp')
0 files changed, 0 insertions, 0 deletions