Spaces:
Running
Running
vulkan : fix build (llama/0)
Browse files
ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp
CHANGED
|
@@ -396,6 +396,14 @@ void process_shaders(std::vector<std::future<void>>& tasks) {
|
|
| 396 |
string_to_spv("sqr_f32", "square.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}});
|
| 397 |
}));
|
| 398 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 399 |
tasks.push_back(std::async(std::launch::async, [] {
|
| 400 |
string_to_spv("clamp_f32", "clamp.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}});
|
| 401 |
}));
|
|
|
|
| 396 |
string_to_spv("sqr_f32", "square.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}});
|
| 397 |
}));
|
| 398 |
|
| 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 |
+
|
| 407 |
tasks.push_back(std::async(std::launch::async, [] {
|
| 408 |
string_to_spv("clamp_f32", "clamp.comp", {{"A_TYPE", "float"}, {"D_TYPE", "float"}, {"FLOAT_TYPE", "float"}});
|
| 409 |
}));
|