We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9961d24 commit 0a2a384Copy full SHA for 0a2a384
ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp
@@ -854,7 +854,13 @@ void write_output_files() {
854
fputs(len.c_str(), src);
855
}
856
857
- for (const std::string& btype : {"f16", "f32", "q8_1"}) {
+ std::vector<std::string> btypes = {"f16", "f32"};
858
+
859
+#if defined(GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT)
860
+ btypes.push_back("q8_1");
861
+#endif
862
863
+ for (const std::string& btype : btypes) {
864
for (const auto& tname : type_names) {
865
if (btype == "q8_1" && !is_legacy_quant(tname)) {
866
continue;
0 commit comments