From 8830eaa02fe2b02718bb1232d1fcc014dd8d36f3 Mon Sep 17 00:00:00 2001 From: sladro Date: Mon, 12 Jan 2026 15:34:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=A7=E8=83=BD=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ai_scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai_scheduler.cpp b/src/ai_scheduler.cpp index d45f112..b017fde 100644 --- a/src/ai_scheduler.cpp +++ b/src/ai_scheduler.cpp @@ -135,7 +135,7 @@ ModelHandle AiScheduler::LoadModel(const std::string& model_path, std::string& e // If we create multiple contexts, bind them to different NPU cores when possible. // This reduces contention and avoids the single-context serialization bottleneck. { - int mask = RKNN_NPU_CORE_0_1_2; + rknn_core_mask mask = RKNN_NPU_CORE_0_1_2; #if defined(RKNN_NPU_CORE_0) && defined(RKNN_NPU_CORE_1) && defined(RKNN_NPU_CORE_2) if (pool_size >= 3) { const int idx = i % 3;