-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Crashes in ARM-Cortex A15 architecture. #562
Comments
Hi, you cannot use softfp with OpenBLAS. Best regards Werner On 05/04/2015 02:22 PM, tripathyAbhijit wrote:
|
@wernsaar Thanks for the quick help . I have some more questions : Can we use hardfp or soft? I badly need a library which gives similar performance to ATLAS . But I find it extremely difficult to cross compile ATLAS on ARM. Any suggestions ? |
Hi, You cannot use softfp with OpenBLAS, because a lot of functions are Best regards Werner On 05/04/2015 02:33 PM, tripathyAbhijit wrote:
|
@wernsaar ,Sorry for being late . The problem is , my toolchain has been configured with softfp. As you can see, only softfp has been enabled for the toolchain. There is no stubs-hard.h . Is there any workaround ? Or do I have to re compile my toolchain with Hard support . |
Hi, I have published binaries for ARM on sourceforge. This is a test to check, that the libraries for mfloat-abi=hard are Best regards On 05/05/2015 07:18 AM, tripathyAbhijit wrote:
|
@wernsaar , I tried the same on my target A15 board. You were right .Sadly , the libraries for mfloat-abi=hard are not installed it seems. At my shell when I run ./dgemm.goto 1024 1024 1 , it shows me ./dgemm.goto : file not found. Looking forward to hear from you , Thanks in advance ! |
Hi, I don't have a platform, that supports softfp. Please edit Makefile.rule and set/edit two lines: Now edit Makefile.arm replace: ifeq ($(CORE), ARMV5) with: ifeq ($(CORE), ARMV5) Simply type make Best regards Werner On 05/05/2015 01:42 PM, tripathyAbhijit wrote:
|
@wernsaar , Thanks a lot !!! 👍 It worked . I was just wondering , would it be wise to use neon vs vfp ? Any suggestions on this ? |
Hi, on processors armv7 and later, neon is not faster than vfp and deprecated. If you need high performance on your arm platform, I would recommand to Best regards On 05/07/2015 11:08 AM, tripathyAbhijit wrote:
|
@tripathyAbhijit , can I close this issue? Best regards |
Closed, because it worked |
Hello Xianyi !!! Hope you're doing well.
I am actually using Openblas for my neural network application on ARM.
Openblas builds without any issues on CortexA15.
However, when I run my application , it always crashes with seg fault.
When I inspect the core on GDB , I get the following info:
Program terminated with signal 11, Segmentation fault.
#0 0x00194dc0 in axpy_kernel_S4 ()
(gdb) where
#0 0x00194dc0 in axpy_kernel_S4 ()
#1 0x00167340 in cblas_saxpy ()
#2 0xb63946d0 in ?? ()
#3 0xb63946d0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
FYI : my arm board has 4 cortex A15 cores and vfpv3,vpfv4 and neon are all supported.
I compiled Openblas with the following options supported by my toolchain:
-marm -mfpu=vfpv3 -mfloat-abi=softfp
Can you please look into the matter , as it is becoming very difficult for me to debug the assembly code.
The text was updated successfully, but these errors were encountered: