-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问MACE运行在DSP上是否必须root手机? #757
Comments
如果是testsig.py的签名方式,需要root |
@lu229 你好,感谢您的答复。 |
@paulwgw88 how to call SetHexagonToUnsignedPD() before creating mace engine? I need to test dsp functionality on Poco f3(SM8250). Would please elaborate more on that? |
Here is my code: std::shared_ptrmace::MaceEngine mEngine = nullptr; |
Thanks, is it sufficient to use this code along with basic usage tutorial
for basic demonstration?
https://mace.readthedocs.io/en/latest/user_guide/basic_usage_cmake.html
…On Wed, Aug 23, 2023, 12:34 PM paulwgw88 ***@***.***> wrote:
@paulwgw88 <https://github.com/paulwgw88> how to call
SetHexagonToUnsignedPD() before creating mace engine? I need to test dsp
functionality on Poco f3(SM8250). Would please elaborate more on that?
Here is my code:
std::shared_ptrmace::MaceEngine mEngine = nullptr;
mace::MaceEngineConfig mEngineConfig;
mEngineConfig.SetHexagonToUnsignedPD();
mEngineConfig.SetRuntimeType(mace::RT_HEXAGON);
mace::MaceStatus status = mace::CreateMaceEngineFromProto(
modelBuffer[0], modelSize[0], modelBuffer[1], modelSize[1],
mInputNames, mOutputNames, mEngineConfig, &mEngine);
—
Reply to this email directly, view it on GitHub
<#757 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD5KKLE5XAUYEYGC4QMQEADXWXBRBANCNFSM5KV6H4FA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
大佬你好,
在MACE文档中看到下面这句
Well, the good news is that starting in the SM8150 family(some devices with old firmware may still not work), signature-free dynamic module offload is enabled on cDSP. So, steps 2-4 can be skipped. This can be achieved by calling SetHexagonToUnsignedPD() before creating MACE engine.
目前我使用的是下面的步骤:
在三星S10(SM8150)上面可以正常运行在DSP上,但是小米9(SM8150)和一加8T(SM8250)上都无法运行,三台手机都没有root。因为高通Hexagon SDK中的testsig.py执行也需要root手机,所以这步也没有做。
小米9在 MACE_CHECK(hexagon_nn_config() == 0, "hexagon config error"); 这里会出发SIGABRT
一加8T在 MACE_CHECK(hexagon_nn_version(&version) == 0, "get version error"); 这里触发SIGABRT
The text was updated successfully, but these errors were encountered: