Posts

Post not yet marked as solved
3 Replies
349 Views
I did a quick scan for all methods in vdsp framework but didn't found a method for this specific task. Is there a method for that I may have overseen? float multiplyAndAccumulate (float* p1, float* p2, int N) {       float s = 0;       const float* e = p1 + N;       while (p1 != e)       {                 s += (*p1) * (*p2);                 p1++;                 p2++;       }       return s; }
Posted
by hotchip.
Last updated
.
Post not yet marked as solved
1 Replies
455 Views
In a C++ application, I use a lot "static const char" to include data directly inside the binary. static const unsigned char temp6[] = { 3,49,43,113,35,91,2,233,99,119,212 .... From the size of the files, I get the impression that the data is inserted once for each architecture (arm64/x64), i.e. it exists twice. Is there anyway to share data directly between architectures, without the need to use extra shared resource files.
Posted
by hotchip.
Last updated
.