From 4eefd386d064e9bbc4e9e1af4380ede75057467c Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Tue, 26 Sep 2023 10:45:00 -0400 Subject: [PATCH] Refactor for subgroups on mat * vec kernel. --- gpt4all-backend/llama.cpp.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpt4all-backend/llama.cpp.cmake b/gpt4all-backend/llama.cpp.cmake index 062d3552..d9dfb41f 100644 --- a/gpt4all-backend/llama.cpp.cmake +++ b/gpt4all-backend/llama.cpp.cmake @@ -174,6 +174,9 @@ if (LLAMA_KOMPUTE) add_custom_command( OUTPUT ${spv_file} DEPENDS ${LLAMA_DIR}/${source} + ${LLAMA_DIR}/kompute/common.comp + ${LLAMA_DIR}/kompute/op_getrows.comp + ${LLAMA_DIR}/kompute/op_mul_mv_q_n.comp COMMAND ${glslc_executable} --target-env=vulkan1.2 -o ${spv_file} ${LLAMA_DIR}/${source} COMMENT "Compiling ${source} to ${source}.spv" )