We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 479618c commit 6833f86Copy full SHA for 6833f86
1 file changed
ggml/src/ggml-vulkan/ggml-vulkan.cpp
@@ -5583,6 +5583,11 @@ static vk_device ggml_vk_get_device(size_t idx) {
5583
#endif
5584
device->subgroup_shuffle = (vk11_props.subgroupSupportedStages & vk::ShaderStageFlagBits::eCompute) &&
5585
(vk11_props.subgroupSupportedOperations & vk::SubgroupFeatureFlagBits::eShuffle);
5586
+#ifdef __APPLE__
5587
+ if (device->vendor_id == VK_VENDOR_ID_AMD) {
5588
+ device->subgroup_shuffle = false;
5589
+ }
5590
+#endif
5591
device->subgroup_clustered = (vk11_props.subgroupSupportedStages & vk::ShaderStageFlagBits::eCompute) &&
5592
(vk11_props.subgroupSupportedOperations & vk::SubgroupFeatureFlagBits::eClustered);
5593
0 commit comments