| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][spirv] Change dialect name from 'spv' to 'spirv' Tested with check-mlir and check-mlir-integration. Issue: https://github.com/llvm/llvm-project/issues/56863 Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D134620 | 3 年前 | |
[mlir][spirv] Support sub-byte integer types in type conversion Typically GPUs cannot access memory in sub-byte manner. So for sub-byte integer type values, we need to either expand them to full bytes or tightly pack them. This commit adds support for tightly packed power-of-two sub-byte types. Sub-byte types aren't allowed in SPIR-V spec, so there are no compute/storage capability for them like other supported integer types. So we don't recognize sub-byte types in spirv::ScalarType. We just special case them in type converter and always convert to use i32 under the hood. Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D150395 | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 3 年前 |