Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fb1cab2

Browse filesBrowse files
authored
vulkan: fix warnings (ggml-org#13626)
* small fixes * remove ifdef
1 parent b7a1746 commit fb1cab2
Copy full SHA for fb1cab2

File tree

Expand file treeCollapse file tree

3 files changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-2
lines changed

‎ggml/src/ggml-vulkan/ggml-vulkan.cpp

Copy file name to clipboardExpand all lines: ggml/src/ggml-vulkan/ggml-vulkan.cpp
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4513,6 +4513,8 @@ static vk_pipeline ggml_vk_guess_matmul_pipeline(ggml_backend_vk_context * ctx,
45134513
return aligned ? mmp->a_m : mmp->m;
45144514
}
45154515
return aligned ? mmp->a_l : mmp->l;
4516+
4517+
GGML_UNUSED(src1_type);
45164518
}
45174519

45184520
static uint32_t ggml_vk_guess_matmul_pipeline_align(ggml_backend_vk_context * ctx, vk_matmul_pipeline& mmp, int m, int n, ggml_type src0_type, ggml_type src1_type) {

‎ggml/src/ggml-vulkan/vulkan-shaders/dequant_iq1_m.comp

Copy file name to clipboardExpand all lines: ggml/src/ggml-vulkan/vulkan-shaders/dequant_iq1_m.comp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#version 450
22

3-
#extension GL_EXT_shader_explicit_arithmetic_types_float16 : require
3+
#extension GL_EXT_shader_explicit_arithmetic_types_int16 : require
44

55
#include "dequant_head.comp"
66

‎ggml/src/ggml-vulkan/vulkan-shaders/mul_mm.comp

Copy file name to clipboardExpand all lines: ggml/src/ggml-vulkan/vulkan-shaders/mul_mm.comp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#extension GL_EXT_shader_explicit_arithmetic_types_float16 : require
88
#endif
99
#if defined(DATA_A_IQ1_M)
10-
#extension GL_EXT_shader_explicit_arithmetic_types_float16 : require
10+
#extension GL_EXT_shader_explicit_arithmetic_types_int16 : require
1111
#endif
1212

1313
#if defined(DATA_A_BF16) && defined(COOPMAT)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.