From: Georgi Gerganov Date: Tue, 27 Aug 2024 19:10:58 +0000 (+0300) Subject: vulkan : fix build (llama/0) X-Git-Tag: upstream/0.0.1642~412 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=92bac758135c082d44c41e152b5f827d7f11d12a;p=pkg%2Fggml%2Fsources%2Fggml vulkan : fix build (llama/0) ggml-ci --- diff --git a/src/vulkan-shaders/vulkan-shaders-gen.cpp b/src/vulkan-shaders/vulkan-shaders-gen.cpp index 89ac99f2..0c5b7b27 100644 --- a/src/vulkan-shaders/vulkan-shaders-gen.cpp +++ b/src/vulkan-shaders/vulkan-shaders-gen.cpp @@ -396,6 +396,14 @@ void process_shaders(std::vector>& tasks) { string_to_spv("sqr_f32", "square.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}}); })); + tasks.push_back(std::async(std::launch::async, [] { + string_to_spv("sin_f32", "sin.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}}); + })); + + tasks.push_back(std::async(std::launch::async, [] { + string_to_spv("cos_f32", "cos.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}}); + })); + tasks.push_back(std::async(std::launch::async, [] { string_to_spv("clamp_f32", "clamp.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}}); }));