This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Change default subgroup size
ClosedPublic

Authored by antiagainst on Dec 10 2021, 9:14 AM.

Details

Summary

This should really come from a matching target environment. But
as a default, it can be handy (to avoid always listing the full
resource limits attribute in IR, etc.). It's common to see 32
so use that as the subgroup size.

Depends On D115532

Diff Detail

Event Timeline

antiagainst created this revision.Dec 10 2021, 9:14 AM
antiagainst requested review of this revision.Dec 10 2021, 9:14 AM
scotttodd accepted this revision.Dec 10 2021, 9:15 AM
This revision is now accepted and ready to land.Dec 10 2021, 9:15 AM
This revision was automatically updated to reflect the committed changes.