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++
sycl: pin the PCIe probe's source buffer
maxious434047643803
diff --git a/sycl/src/program/generate.cpp b/sycl/src/program/generate.cppindex 3c3b267d1..16189f12c 100644--- a/sycl/src/program/generate.cpp+++ b/sycl/src/program/generate.cpp@@ -1505,10 +1505,13 @@ double probe_pcie_h2d_gbps(std::string *samples = nullptr) try {constexpr int kBursts = 4;void* h = nullptr;void* d = nullptr;- if (DPCT_CHECK_ERROR(h = (void *)malloc(kBytes)) != 0) return -1.0;+ // pinned source: a pageable 256 MiB source made the copy engine (bcs) fault inside the driver's bounce+ // path on a layer split (755 x VM_NOT_FOUND at a fixed pool VA, on a fresh boot), wedging the load. The+ // DPCT1124 note below this call says exactly that.+ if (DPCT_CHECK_ERROR(h = (void *)sycl::malloc_host(kBytes, dpct::get_in_order_queue())) != 0) return -1.0;if (DPCT_CHECK_ERROR(d = (void *)sycl::malloc_device(kBytes, dpct::get_in_order_queue())) != 0) {- free(h);+ sycl::free(h, dpct::get_in_order_queue());return -1.0;}std::memset(h, 0, kBytes); // fault the pages in before timing@@ -1583,7 +1586,7 @@ double probe_pcie_h2d_gbps(std::string *samples = nullptr) try {*/if (!ok)(void) 0;sycl::free(d, dpct::get_in_order_queue());- free(h);+ sycl::free(h, dpct::get_in_order_queue());return bw;}catch (sycl::exception const &exc) {