This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Add resource limits into target environment
ClosedPublic

Authored by antiagainst on Feb 3 2020, 9:24 AM.

Details

Summary

This commit adds two resource limits, max_compute_workgroup_size
and max_compute_workgroup_invocations as resource limits to
the target environment. They are not used at the current moment,
but they will affect the SPIR-V CodeGen. Adding for now to have
a proper target environment modelling.

Diff Detail

Event Timeline

antiagainst created this revision.Feb 3 2020, 9:24 AM

Unit tests: pass. 62417 tests passed, 0 failed and 845 were skipped.

clang-tidy: pass.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

denis13 accepted this revision.Feb 4 2020, 4:10 AM
This revision is now accepted and ready to land.Feb 4 2020, 4:10 AM
This revision was automatically updated to reflect the committed changes.