[Bug Fix] Fix the bug reported by RK3568 Runtime under the latest driver (#1311)

* 更新rkyolo runtime 在rk3568最新驱动下报错的问题

* 删除debug代码
This commit is contained in:
Zheng-Bicheng
2023-02-14 15:40:15 +08:00
committed by GitHub
parent 2dfda1db85
commit cd5a54cd75
3 changed files with 6 additions and 5 deletions

View File

@@ -25,7 +25,7 @@
namespace fastdeploy {
struct RKNPU2BackendOption {
rknpu2::CpuName cpu_name = rknpu2::CpuName::RK3588;
rknpu2::CpuName cpu_name = rknpu2::CpuName::RK356X;
// The specification of NPU core setting.It has the following choices :
// RKNN_NPU_CORE_AUTO : Referring to automatic mode, meaning that it will
@@ -49,7 +49,7 @@ class RKNPU2Backend : public BaseBackend {
bool GetSDKAndDeviceVersion();
bool SetCoreMask(rknpu2::CoreMask& core_mask) const;
bool SetCoreMask(const rknpu2::CoreMask& core_mask);
bool GetModelInputOutputInfos();