Skip to content

Commit 1089924

Browse files
authored
kompute : implement op_getrows_f32 (#6403)
op_getrows_f32 is required since ggml-org/llama.cpp#6122 for the Vulkan w/ Kompute backend to be functional. As such, implement this op to make this backend functional again.
1 parent 12c7aef commit 1089924

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ if (LLAMA_KOMPUTE)
777777
kompute-shaders/op_mul_mat_q4_0.comp
778778
kompute-shaders/op_mul_mat_q4_1.comp
779779
kompute-shaders/op_mul_mat_q6_k.comp
780+
kompute-shaders/op_getrows_f32.comp
780781
kompute-shaders/op_getrows_f16.comp
781782
kompute-shaders/op_getrows_q4_0.comp
782783
kompute-shaders/op_getrows_q4_1.comp
@@ -809,6 +810,7 @@ if (LLAMA_KOMPUTE)
809810
shaderop_mul_mat_q4_0.h
810811
shaderop_mul_mat_q4_1.h
811812
shaderop_mul_mat_q6_k.h
813+
shaderop_getrows_f32.h
812814
shaderop_getrows_f16.h
813815
shaderop_getrows_q4_0.h
814816
shaderop_getrows_q4_1.h

0 commit comments

Comments
 (0)