8000 vulkan: fix warnings (#13626) · ggml-org/llama.cpp@fb1cab2 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb1cab2

Browse files
authored
vulkan: fix warnings (#13626)
* small fixes * remove ifdef
1 parent b7a1746 commit fb1cab2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

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

Lines 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

Lines 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

Lines 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