Skip to content

Commit 20f1789

Browse files
committed
vulkan : fix build (#0)
ggml-ci
1 parent 231cff5 commit 20f1789

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,14 @@ void process_shaders(std::vector<std::future<void>>& tasks) {
396396
string_to_spv("sqr_f32", "square.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}});
397397
}));
398398

399+
tasks.push_back(std::async(std::launch::async, [] {
400+
string_to_spv("sin_f32", "sin.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}});
401+
}));
402+
403+
tasks.push_back(std::async(std::launch::async, [] {
404+
string_to_spv("cos_f32", "cos.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}});
405+
}));
406+
399407
tasks.push_back(std::async(std::launch::async, [] {
400408
string_to_spv("clamp_f32", "clamp.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}});
401409
}));

0 commit comments

Comments
 (0)