diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2024-02-27 12:35:48 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 12:35:48 -0600 |
commit | 563f414e049dc06dcb955f565fcff3c663982ee4 (patch) | |
tree | c49554aaf4750cef03d65bd93a4f19c7b2b82c98 /llvm/lib/Object/ArchiveWriter.cpp | |
parent | 7b11e2ec39ae01f53d53250551e207583bd51e80 (diff) | |
download | llvm-563f414e049dc06dcb955f565fcff3c663982ee4.zip llvm-563f414e049dc06dcb955f565fcff3c663982ee4.tar.gz llvm-563f414e049dc06dcb955f565fcff3c663982ee4.tar.bz2 |
[mlir][AMDGPU] Set uniform-work-group-size=true by default (#79077)
GPU kernels generated via typical MLIR mechanisms make the assumption
that all workgroups are of uniform size, and so, as in OpenMP, it is
appropriate to set the "uniform-work-group-size"="true" attribute on
these functions by default. This commit makes that choice.
In the event it is needed, this commit adds
`rocdl.uniform_work_group_size` as an attribute to be set on LLVM
functions that can be used to override the default.
In addition, add proper failure messages to translation
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions