8000 vulkan: fix warnings (#13626) · baseweight/llama.cpp@5bc972d · GitHub
[go: up one dir, main page]

Skip to content

Commit 5bc972d

Browse files
netrunnereveinfil00p
authored andcommitted
vulkan: fix warnings (ggml-org#13626)
* small fixes * remove ifdef
1 parent 1f403e6 commit 5bc972d

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
@@ -4515,6 +4515,8 @@ static vk_pipeline ggml_vk_guess_matmul_pipeline(ggml_backend_vk_context * ctx,
45154515
return aligned ? mmp->a_m : mmp->m;
45164516
}
45174517
return aligned ? mmp->a_l : mmp->l;
4518+
4519+
GGML_UNUSED(src1_type);
45184520
}
45194521

45204522
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