]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml: Vulkan build, Linux -- output error string for errno on fork failure (#20868...
authorTom Overlund <redacted>
Tue, 7 Apr 2026 11:54:55 +0000 (07:54 -0400)
committerGitHub <redacted>
Tue, 7 Apr 2026 11:54:55 +0000 (13:54 +0200)
ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp

index bf04f4822ebbea1b6207031df1b276a3488ced7b..7afdcef7d2277f87c251029d52adcd34d0cacebd 100644 (file)
@@ -137,6 +137,7 @@ void execute_command(std::vector<std::string>& command, std::string& stdout_str,
 
     pid_t pid = fork();
     if (pid < 0) {
+        std::cerr << strerror(errno) << "\n";
         throw std::runtime_error("Failed to fork process");
     }