llvm-project/mlir/test/Conversion/GPUToSPIRV
Lei Zhang 52ca149931 [mlir][spirv] Allow controlling subgroup size
This commit extends the `ResourceLimitsAttr` to support specifying
a minimal and maximal subgroup size, and extends `EntryPointABIAttr`
to support specifying the requested subgroup size. This is possible
now in Vulkan with the VK_EXT_subgroup_size_control extension.
For OpenCL it's possible to use the `SubgroupSize` execution mode
directly.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D138962
2022-11-30 12:34:09 -05:00
..
builtins.mlir [mlir][spirv] Allow controlling subgroup size 2022-11-30 12:34:09 -05:00
entry-point.mlir [mlir][spirv] Allow controlling subgroup size 2022-11-30 12:34:09 -05:00
gpu-to-spirv.mlir [mlir][spirv] Allow controlling subgroup size 2022-11-30 12:34:09 -05:00
load-store.mlir [mlir][spirv] Allow controlling subgroup size 2022-11-30 12:34:09 -05:00
module-opencl.mlir [mlir][spirv] Allow controlling subgroup size 2022-11-30 12:34:09 -05:00
shuffle.mlir [mlir][spirv] Allow controlling subgroup size 2022-11-30 12:34:09 -05:00
wmma-ops-to-spirv.mlir [mlir][spirv] Allow controlling subgroup size 2022-11-30 12:34:09 -05:00