Git Product home page Git Product logo

Comments (7)

AnthonyBarbier avatar AnthonyBarbier commented on May 5, 2024

Hi,
Unfortunately I don't have a Raspberry Pi to reproduce this issue.

A few things I would suggest you try:

  1. Could you please try to run the binaries we provided here: https://github.com/ARM-software/ComputeLibrary/releases

  2. Cross compile instead of building natively (In case it is a problem with the Raspberry Pi toolchain)

  3. Try to run the example in GDB to see where it crashes.

We've successfully run this example on a variety of platforms so I'm curious to have more information about the issue you're seeing.

from computelibrary.

AnthonyBarbier avatar AnthonyBarbier commented on May 5, 2024

I only just noticed you were running Raspbian: isn't this OS compiled for armv6 ? (i.e no NEON support)

Have you tried using an armv7 hard float image instead ?
Should be faster too.

from computelibrary.

sundw2014 avatar sundw2014 commented on May 5, 2024

Hi @AnthonyARM ,
I found that it crashed in std::thread. And it can be solved by removing -march=armv7-a -mthumb in the compiler flags.
Details of my Raspbian:

uname -a
Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux

I really want to know what is armv7l and I didn't find it in the -march lists.

Maybe, it is a bug with the toolchain.

from computelibrary.

AnthonyBarbier avatar AnthonyBarbier commented on May 5, 2024

Yes, like mentioned above: raspbian is compiled for armv6 which is why it works when you remove armv7-a and thumb.

Could you try with a Linux armv7 OS ? ((Like Arch Linux or Ubuntu))

from computelibrary.

sundw2014 avatar sundw2014 commented on May 5, 2024

Hi @AnthonyARM ,
Thank you.
I will try Arch Linux and tell you the result later.

from computelibrary.

sundw2014 avatar sundw2014 commented on May 5, 2024

Yes, it worked on Arch Linux.

uname -a
Linux alarmpi 4.9.19-1-ARCH #1 SMP Thu Mar 30 19:23:11 MDT 2017 armv7l GNU/Linux

from computelibrary.

AnthonyBarbier avatar AnthonyBarbier commented on May 5, 2024

Cool, thanks for confirming.
Feel free to re-open the issue or create a new one if you run into more problems

from computelibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.