Lunderberg commented on pull request #8048: URL: https://github.com/apache/tvm/pull/8048#issuecomment-841527815
> Probably we need more fine-grained information than yes/no result. Vulkan has (surprisingly) wide variety of subgroup op support as described in https://www.khronos.org/blog/vulkan-subgroup-tutorial. I think the bitflags from the `supportedOperations` member of [VkPhysicalDeviceSubgroupProperties](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSubgroupProperties.html) should give that more fine-grained information. The `supported_subgroup_operations` is intended to be a copy of the bitflags from `supportedOperations`, which can then be checked by the codegen. In the case of the subgroup arithmetic operations, that should be doable by checking the [VK_SUBGROUP_FEATURE_ARITHMETIC_BIT](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubgroupFeatureFlagBits.html) of `supported_subgroup_operations`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
