Closed supratimc239 closed 2 years ago
Hi,
Could someone please let me know what changes needs to be done in scons/cmake and source code for Compute Library and ARMNN in order to cross compile it for ARM DS-5 for Cortex-A32 processor.
Kind regards Supratim
Have you try to follow the cross compilation guide?: https://arm-software.github.io/armnn/22.02/md__build_guide_cross_compilation.xhtml
or the quick start guide https://arm-software.github.io/armnn/22.02/md_delegate__delegate_quick_start_guide.xhtml
@TeresaARM ,
Thank you for response. I have already used the first link to cross compile. I also now looked into the second link you have shared. But none of them provide information on how to cross compile armnn for ARM DS-5.
Thanks
@TeresaARM https://arm-software.github.io/armnn/22.02/md__build_guide_cross_compilation.xhtml basically cross compiles for arm64. I am trying cross compile ARMNN for armclang. Could you please let me know if there is any link that describe necessary changes?
Thanks
Hi @supratimc239
We don't have a guide specifically for DS-5. Or for compiling for 32bit arm processors at all, the Cortex-A32 predates ArmNN and very few of our optimisations are likely to result in a performance increase.
In theory though, if you did want to try and compile ArmNN for your board, you could use the cross compilation guide @TeresaARM linked above, but replace the instances of CXX=aarch64-linux-gnu-g++ CC=aarch64-linux-gnu-gcc
with your version of armclang which is included with DS-5. This is likely to run into problems with dependencies and libraries so I make no guarantees.
Sorry for the lack of support in this case. Regards, David
Hi @supratimc239,
I am going to close this issue as it has been over one month when the latest activity has occurred. If you are still experiencing problems, please do not hesitate to reopen this ticket or create a new issue.
Kind Regards, Cathal.
Hi,
I have previously built and executed my TF-lite model on ARMNN on Android device. Now I need to port my ARMNN based solution to evaluation board running on Linux.
I was told that the board uses Cortex-A32 and we need to build executable using ARM compiler 6 license from ARM DS-5 tool. While I have ARM compiler 6 license and downloaded already ARM DS IDE 2020.0, I am not sure how to build my model using ARM DS-5 for Cortext-A32 processor.
Any help will be really appreciated.
Kind regards Supratim