[mlir][SPIRV] Adding an attribute to capture configuration for cooperative matrix...
authorMaheshRavishankar <ravishankarm@google.com>
Thu, 15 Oct 2020 05:32:52 +0000 (22:32 -0700)
committerMaheshRavishankar <ravishankarm@google.com>
Thu, 15 Oct 2020 05:33:11 +0000 (22:33 -0700)
commit6d9a72ec80bbf4cfe10c81c944542ca195fc8d02
tree5da6400948eb62106ea2ad306c26e3af1949b768
parent5b346fd8c9949109802a34a8e702d31b6b3e1b70
[mlir][SPIRV] Adding an attribute to capture configuration for cooperative matrix operations.

Each hardware that supports SPV_C_CooperativeMatrixNV has a list of
configurations that are supported natively. Add an attribute to
specify the configurations supported to the `spv.target_env`.

Reviewed By: antiagainst, ThomasRaoux

Differential Revision: https://reviews.llvm.org/D89364
mlir/include/mlir/Dialect/SPIRV/TargetAndABI.td
mlir/lib/Dialect/SPIRV/TargetAndABI.cpp
mlir/test/Dialect/SPIRV/target-and-abi.mlir