problems with not getting neon call using coder

2 ビュー (過去 30 日間)
Barry Bosworth
Barry Bosworth 2021 年 5 月 18 日
回答済み: Swatantra Mahato 2021 年 7 月 1 日
I have a simple m file function that adds 2 vectors, just to get the code generator to generate neon code,
but there are no calls to neon in the generated code.
This is the function:
function y = simple_addition(u1,u2)
%#codegen
% Copyright 2015 The MathWorks, Inc.
y = u1 + u2;
end
The image below shows captures from the process

回答 (1 件)

Swatantra Mahato
Swatantra Mahato 2021 年 7 月 1 日
Hi Barry,
In addition to setting the hardware setting you also need to change the "Code Replacement Library" settings from "More Settings>Custom Code".
You can find an example that demonstrates the overall process below:
Hope this helps

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by