This is an archive of the discontinued LLVM Phabricator instance.

[mlir][GPU] treat the absence of workgroup attributes correctly
ClosedPublic

Authored by ftynse on Sep 29 2022, 2:53 AM.

Details

Summary

The helper function in GPUFuncOp incorrectly assumed the workgroup
attribution attribute is always present. Instead, treat its absence as
if its value was zero, i.e., no workgroup attributions are specified.

Closes #58045.

Diff Detail

Event Timeline

ftynse created this revision.Sep 29 2022, 2:53 AM
ftynse requested review of this revision.Sep 29 2022, 2:53 AM
nicolasvasilache accepted this revision.Sep 29 2022, 5:34 AM
This revision is now accepted and ready to land.Sep 29 2022, 5:34 AM