]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml-virtgpu: fix circular dependency in headers (#22557)
authorJusteLeo <redacted>
Sat, 2 May 2026 13:28:50 +0000 (15:28 +0200)
committerGitHub <redacted>
Sat, 2 May 2026 13:28:50 +0000 (21:28 +0800)
ggml/src/ggml-virtgpu/virtgpu-shm.cpp
ggml/src/ggml-virtgpu/virtgpu.cpp
ggml/src/ggml-virtgpu/virtgpu.h

index ce6b3b3e607f6ad616ab7787aaf3042efb88d810..7f2c2322d919f39dd52f1eca1e298fa725fd5fae 100644 (file)
@@ -1,6 +1,7 @@
 #include "virtgpu-shm.h"
 
 #include "virtgpu.h"
+#include "ggml-remoting.h"
 
 #include <assert.h>
 
index a84a77399d9c261e40734d1f9856198712666674..e3ae1cc75e001bd043903c911c333b828f2a1c15 100644 (file)
@@ -1,4 +1,5 @@
 #include "virtgpu.h"
+#include "ggml-remoting.h"
 
 #include <stdio.h>
 #include <unistd.h>
index f82d8fb50bacb4254092e17f60b1b284e492d840..6b8de583893e4a76cb7475dd84478f864340559b 100644 (file)
@@ -18,8 +18,6 @@
 
 #include <cstring>
 
-#include "ggml-remoting.h"
-
 #define VIRGL_RENDERER_UNSTABLE_APIS 1
 #include "apir_hw.h"
 #include <drm/virtgpu_drm.h>