Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
vmm: fall back to cudaGetDriverEntryPoint below CUDA 12.5 (#1071)
Niko1221b4182a8d50f0
diff --git a/src/core/vmm.cpp b/src/core/vmm.cppindex 9ada955dc..e69d2b886 100644--- a/src/core/vmm.cpp+++ b/src/core/vmm.cpp@@ -25,9 +25,15 @@ struct Api {template <class F> bool resolve(const char* name, F& f) {cudaDriverEntryPointQueryResult q{};void* p = nullptr;- if (cudaGetDriverEntryPointByVersion(name, &p, 12000, cudaEnableDefault, &q) != cudaSuccess ||- q != cudaDriverEntryPointSuccess || p == nullptr)+#if CUDART_VERSION >= 12050+ const cudaError_t e = cudaGetDriverEntryPointByVersion(name, &p, 12000, cudaEnableDefault, &q);+#else // the versioned query arrived in CUDA 12.5+ const cudaError_t e = cudaGetDriverEntryPoint(name, &p, cudaEnableDefault, &q);+#endif+ if (e != cudaSuccess || q != cudaDriverEntryPointSuccess || p == nullptr) {+ (void) cudaGetLastError();return false;+ }f = (F) p;return true;}