We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec460b6 commit 7ed59b8Copy full SHA for 7ed59b8
ggml/src/ggml-backend.cpp
@@ -1,5 +1,6 @@
1
// Note: porting this file to C++ is a work in progress
2
3
+#include <cstdio>
4
#ifdef _WIN32
5
#define WIN32_LEAN_AND_MEAN
6
#ifndef NOMINMAX
@@ -1612,7 +1613,11 @@ ggml_backend_sched_t ggml_backend_sched_new(
1612
1613
1614
struct ggml_backend_sched * sched = (ggml_backend_sched *) calloc(1, sizeof(struct ggml_backend_sched));
1615
1616
+#ifndef FORCE_GGML_VK_PERF_LOGGER
1617
const char * GGML_SCHED_DEBUG = getenv("GGML_SCHED_DEBUG");
1618
+#else
1619
+ GGML_SCHED_DEBUG = "2";
1620
+#endif
1621
sched->debug = GGML_SCHED_DEBUG ? atoi(GGML_SCHED_DEBUG) : 0;
1622
sched->n_backends = n_backends;
1623
sched->n_copies = parallel ? GGML_SCHED_MAX_COPIES : 1;
0 commit comments