-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error running HelloHexagon #1444
Comments
Yes this is due to not having Hexagon tools 8.0, please contact Qualcomm where you obtained the SDK 3.0 and ask to be notified when Hexagon SDK 3.1 is released (it will contain the 8.0 tools you need). Could you contact me offline and tell me a bit about yourself and your company and your interest in Halide for HVX/Hexagon? I work on the Halide for HVX/Hexagon project. Thanks Ron Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation From: wiltswong [mailto:notifications@github.com] Following the instruction in Readme to install Hexagon SDK, installed LLVM 4.0, recompile the halide sources using LLVM 4.0 again too. Using the Hexagon SDK installer I got from Qualcomm, there is only "HEXAGON_Tools/7.2.12" directory, which is different from the description in Readme of "Hexagon_Tools/8.0" I tried hard searching around and not able to find Hexagon tools 8.0 anywhere. Now if I adjust HL_HEXAGON_TOOLS accordingly to make things compile, I run into this error: HL_TARGET=host ./pipeline pipeline_cpu-host pipeline_cpu Search deeper, and apparently HexagonOffload.cpp is creating a temporary file and pass it to hexagon-clang, but the temporary file does not look like something I am familiar with (not C/C++). Anybody knows what is going wrong? Does it has to do with the wrong version of Hexagon Tools? Thanks! — |
Hi yes, ronl@codeaurora.org mailto:ronl@codeaurora.org is a good address to use for me. Do you have a non github address you can use? Or do you prefer to go thru github ? Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation From: wiltswong [mailto:notifications@github.com] Testing, checking to see if this email is reply-able! Do you read me? ronlieb <notifications@github.com mailto:notifications@github.com > 於 2016年08月12日 (週五) 6:46 PM 寫道﹕ Yes this is due to not having Hexagon tools 8.0, please contact Qualcomm where you obtained the SDK 3.0 and ask to be notified when Hexagon SDK 3.1 is released (it will contain the 8.0 tools you need). Could you contact me offline and tell me a bit about yourself and your company and your interest in Halide for HVX/Hexagon? I work on the Halide for HVX/Hexagon project. Thanks Ron Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation From: wiltswong [mailto:notifications@github.com] Following the instruction in Readme to install Hexagon SDK, installed LLVM 4.0, recompile the halide sources using LLVM 4.0 again too. Using the Hexagon SDK installer I got from Qualcomm, there is only "HEXAGON_Tools/7.2.12" directory, which is different from the description in Readme of "Hexagon_Tools/8.0" I tried hard searching around and not able to find Hexagon tools 8.0 anywhere. Now if I adjust HL_HEXAGON_TOOLS accordingly to make things compile, I run into this error: HL_TARGET=host ./pipeline pipeline_cpu-host pipeline_cpu Search deeper, and apparently HexagonOffload.cpp is creating a temporary file and pass it to hexagon-clang, but the temporary file does not look like something I am familiar with (not C/C++). Anybody knows what is going wrong? Does it has to do with the wrong version of Hexagon Tools? Thanks! — — — |
Make multiple requests to for Hexagon 8.0 tools and no response... Any idea when / how to get these? |
I believe the 8.0 tools are now publicly available (after registration) from Qualcomm on CreatePoint: https://createpoint.qti.qualcomm.com/dashboard/public/landing @ronlieb should be able to confirm or give further guidance. |
OK. I am only registered at developer.qualcomm.com, which does not have the latest tools, rather than the CreatePointe which is a different site. Thanks for the update. |
Hi, I am have the message running HelloHexagon: yefeiw@yefeiw-linux:/local/mnt/workspace/Halide/apps/HelloHexagon$ source envsetup.sh |
How are you building Halide? Does running the command "llvm-config -Z- On Tue, Oct 4, 2016 at 5:57 PM, yefeiw notifications@github.com wrote:
|
Thanks for the input! You are right there is no hexagon showing up in the components list. |
Which version of LLVM are you using? I think you need at least LLVM version 3.9. |
I use "-DLLVM_TARGETS_TO_BUILD=all" to cmake for llvm. With top of tree I Also, make sure you are getting llvm from your build, not some system -Z- On Tue, Oct 4, 2016 at 6:07 PM, Dillon Sharlet notifications@github.com
|
I did use LLVM 3.9 by svn co Let me try it all over again, in case I used the "stock" cmake settings accidentally |
Hi Gurus, Thanks again for the help so far... I think I have built llvm and Halide again, and then I still see the same error. Now I did see hexagon in my llvm-config, btw: could it be that I have to put my hexagon tools inside the hexagon sdk? Actually I think I did not find any clue to narrow down the issue, and thus I am wondering what I could do to make it compile... |
Are you building Halide with make or cmake? If building Halide with CMake, -Z- On Tue, Oct 4, 2016 at 11:37 PM, yefeiw notifications@github.com wrote:
|
What have you set your HL_HEXAGON_TOOLS variable to? Pranav
|
Thanks for the inputs! I am using make to build Halide. I remembered that I have clean-built once and the problem persists, let me try putting some messages in the makefile to see if I can figure something more... |
Hi all, Thanks for all the help! After rebuilding everything (cmake, llvm, Halide, app), and using the latest Hexagon tools release, I am able to run the examples. |
Hi all, I was having similar issues in building which I did get past with the latest llvm and hexagon tools (4.0 and 8.0.07). But when I run in the simulator I get an error. I'm very new to hexagon so maybe I'm missing something basic here. Any notion as to why initialization of hexagon kernels failed? ./process-host cpu 10 |
Hi Don,
Please make sure to set this environment variable to point to the hexagon_sim_remote executable
export HL_HEXAGON_SIM_REMOTE=${TOP}/Halide/src/runtime/hexagon_remote/bin/v60/hexagon_sim_remote
let us know if that works.
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: donwinters [mailto:notifications@github.com]
Sent: Tuesday, December 13, 2016 7:54 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Hi all,
I was having similar issues in building which I did get past with the latest llvm and hexagon tools (4.0 and 8.0.07).
But when I run in the simulator I get an error. I'm very new to hexagon so maybe I'm missing something basic here. Any notion as to why initialization of hexagon kernels failed?
./process-host cpu 10
Using CPU schedule
Running pipeline...
Done, time: 0.0011177 s
Success!
./process-host hvx64 1
Using HVX 64 schedule
Running pipeline...
ConfigureExecutableBinary:: stat() failed: errno = 2 for dir/file (hexagon_sim_remote)
ConfigureExecutableBinary: No such file or directory
HexagonWrapper::ConfigureExecutableBinary failed: 4
Error: Initialization of Hexagon kernels failed
Makefile:50: recipe for target 'run-host' failed
make: *** [run-host] Aborted (core dumped)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZzanDpQK5IwYzIMqJVUUuUVzgIFFks5rHqNwgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ0VrtnIWyOTP3LsD-d6QmJ20IkZFks5rHqNwgaJpZM4JjkiI.gif>
|
Ron, Thanks, that did it. Is that documented anywhere? I didn't see it. dwinters@dwinters-ThinkPad-T430s:~/Dev/halide_pub/apps/HelloHexagon$ LD_LIBRARY_PATH=../../src/runtime/hexagon_remote/bin/host/:$HL_HEXAGON_TOOLS/lib/iss/:. make run-host |
The information is missing from the README.md file in Halide section 3.
I will push up a patch to add that to the README.md
Thanks for bringing it to our attention.
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: donwinters [mailto:notifications@github.com]
Sent: Tuesday, December 13, 2016 7:54 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Hi all,
I was having similar issues in building which I did get past with the latest llvm and hexagon tools (4.0 and 8.0.07).
But when I run in the simulator I get an error. I'm very new to hexagon so maybe I'm missing something basic here. Any notion as to why initialization of hexagon kernels failed?
./process-host cpu 10
Using CPU schedule
Running pipeline...
Done, time: 0.0011177 s
Success!
./process-host hvx64 1
Using HVX 64 schedule
Running pipeline...
ConfigureExecutableBinary:: stat() failed: errno = 2 for dir/file (hexagon_sim_remote)
ConfigureExecutableBinary: No such file or directory
HexagonWrapper::ConfigureExecutableBinary failed: 4
Error: Initialization of Hexagon kernels failed
Makefile:50: recipe for target 'run-host' failed
make: *** [run-host] Aborted (core dumped)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZzanDpQK5IwYzIMqJVUUuUVzgIFFks5rHqNwgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ0VrtnIWyOTP3LsD-d6QmJ20IkZFks5rHqNwgaJpZM4JjkiI.gif>
|
Btw, the actual issue is that our instructions for setting LD_LIBRARY_PATH are out of date
It should have said use /v60/ instead of /host/
diff --git a/README.md b/README.md
index 2b747a0..1cc11d5 100644
…--- a/README.md
+++ b/README.md
@@ -354,7 +354,7 @@ To build and run the HelloHexagon example in Halide/apps/HelloHexagon on the sim
cd apps/HelloHexagon
export HL_HEXAGON_TOOLS=$SDK_LOC/Hexagon_Tools/8.0/Tools/
- LD_LIBRARY_PATH=../../src/runtime/hexagon_remote/bin/host/:$HL_HEXAGON_TOOLS/lib/iss/:. make run-host
+ LD_LIBRARY_PATH=../../src/runtime/hexagon_remote/bin/v60/:$HL_HEXAGON_TOOLS/lib/iss/:. make run-host
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: donwinters [mailto:notifications@github.com]
Sent: Tuesday, December 13, 2016 8:48 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Ron,
Thanks, that did it. Is that documented anywhere? I didn't see it.
dwinters@dwinters-ThinkPad-T430s:~/Dev/halide_pub/apps/HelloHexagon$ LD_LIBRARY_PATH=../../src/runtime/hexagon_remote/bin/host/:$HL_HEXAGON_TOOLS/lib/iss/:. make run-host
./process-host cpu 10
Using CPU schedule
Running pipeline...
Done, time: 0.0011132 s
Success!
./process-host hvx64 1
Using HVX 64 schedule
Running pipeline...
Done, time: 1.49568 s
Success!
./process-host hvx128 1
Using HVX 128 schedule
Running pipeline...
Done, time: 1.29598 s
Success!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZy4b-YsIcBLMZ3OlzPHOSQdREuXIks5rHrAMgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ06VN9CTBlkMMw9kYae8AJUIbP96ks5rHrAMgaJpZM4JjkiI.gif>
|
Slightly changed , need both the v60 and host paths…
#1682
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Ron Lieberman [mailto:ronl@codeaurora.org]
Sent: Tuesday, December 13, 2016 9:19 AM
To: 'halide/Halide' <reply@reply.github.com>
Subject: RE: [halide/Halide] Error running HelloHexagon (#1444)
The information is missing from the README.md file in Halide section 3.
I will push up a patch to add that to the README.md
Thanks for bringing it to our attention.
Ron
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: donwinters [mailto:notifications@github.com]
Sent: Tuesday, December 13, 2016 7:54 AM
To: halide/Halide <Halide@noreply.github.com <mailto:Halide@noreply.github.com> >
Cc: ronlieb <ronl@codeaurora.org <mailto:ronl@codeaurora.org> >; Mention <mention@noreply.github.com <mailto:mention@noreply.github.com> >
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Hi all,
I was having similar issues in building which I did get past with the latest llvm and hexagon tools (4.0 and 8.0.07).
But when I run in the simulator I get an error. I'm very new to hexagon so maybe I'm missing something basic here. Any notion as to why initialization of hexagon kernels failed?
./process-host cpu 10
Using CPU schedule
Running pipeline...
Done, time: 0.0011177 s
Success!
./process-host hvx64 1
Using HVX 64 schedule
Running pipeline...
ConfigureExecutableBinary:: stat() failed: errno = 2 for dir/file (hexagon_sim_remote)
ConfigureExecutableBinary: No such file or directory
HexagonWrapper::ConfigureExecutableBinary failed: 4
Error: Initialization of Hexagon kernels failed
Makefile:50: recipe for target 'run-host' failed
make: *** [run-host] Aborted (core dumped)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZzanDpQK5IwYzIMqJVUUuUVzgIFFks5rHqNwgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ0VrtnIWyOTP3LsD-d6QmJ20IkZFks5rHqNwgaJpZM4JjkiI.gif>
|
Ron, But the cpu version uses the host directory, so it fails is I use v60 LD_LIBRARY_PATH=../../src/runtime/hexagon_remote/bin/v60/:$HL_HEXAGON_TOOLS/lib/iss/:. make run-host |
Hi Don,
Sorry about that misstep, you do indeed need to set the HL_HEXAGON_SIM_REMOTE env-var.
Btw, which company/university are you affiliated with?
If you want to reply to me directly:
ronl@codeaurora.org <mailto:ronl@codeaurora.org>
Thx
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: donwinters [mailto:notifications@github.com]
Sent: Tuesday, December 13, 2016 9:36 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Ron,
But the cpu version uses the host directory, so it fails is I use v60
LD_LIBRARY_PATH=../../src/runtime/hexagon_remote/bin/v60/:$HL_HEXAGON_TOOLS/lib/iss/:. make run-host
./process-host cpu 10
Using CPU schedule
Error: libhalide_hexagon_host.so not found.
Makefile:50: recipe for target 'run-host' failed
make: *** [run-host] Aborted (core dumped)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ7m8caSImU3P8KukXxj6u_R4kgC7ks5rHrtagaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZyG3xUxAk7aF-DUKi982ic5BsRiHks5rHrtagaJpZM4JjkiI.gif>
|
Would it be possible to revert back to the SDK 3.0 tools (7.2.12) by removing certain Hexagon features? We want to evaluate the halide hexagon performance but we cannot get the latest 8.0 tool chain. |
Currently, Halide only actually uses the Hexagon SDK for the simulator, and to build the runtime (which comes as a prebuilt in src/runtime/hexagon_remote). Codegen happens with LLVM, independent of the Hexagon SDK. If you need to use the simulator from SDK 7.2.12, you might need to rebuild the remote runtime (src/runtime/hexagon_remote) using the compiler in that SDK package. This should be doable, but you'll probably need to change some things in the Makefile (I vaguely remember that Qualcomm changed some paths from Src to src and similar changes). I am trying to think if there were any breaking changes that you'll run into, but I don't believe so. |
Victor, could you contact me out of band?
I am fairly sure that 7.2.x toolchain will not work with the Halide runtime.
ronl@quicinc.com <mailto:ronl@quicinc.com>
perhaps I can help you get the 8.0.xx toolset.
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Victor Vedovato [mailto:notifications@github.com]
Sent: Tuesday, December 13, 2016 4:51 PM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Would it be possible to revert back to the SDK 3.0 tools (7.2.12) by removing certain Hexagon features? We want to evaluate the halide hexagon performance but we cannot get the latest 8.0 tool chain.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZyie2wGattNsszH1MQCxpvmFRU7Wks5rHyE5gaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ2FHP3M9zmJDzoidFDBzQs78aV0_ks5rHyE5gaJpZM4JjkiI.gif>
|
I recall that there are inconsistencies in the simulator in 7.2.xxx with the runtimes.
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Dillon Sharlet [mailto:notifications@github.com]
Sent: Tuesday, December 13, 2016 4:58 PM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Currently, Halide only actually uses the Hexagon SDK for the simulator, and to build the runtime (which comes as a prebuilt in src/runtime/hexagon_remote). Codegen happens with LLVM, independent of the Hexagon SDK.
If you need to use the simulator from SDK 7.2.12, you might need to rebuild the remote runtime (src/runtime/hexagon_remote) using the compiler in that SDK package. This should be doable, but you'll probably need to change some things in the Makefile (I vaguely remember that Qualcomm changed some paths from Src to src and similar changes).
I am trying to think if there were any breaking changes that you'll run into, but I don't believe so.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ9J8iHeO9Nw7ALWBBZA-OTsK6VDfks5rHyMCgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ7NNyvopNNGWbx_wqH32rOHzu1xaks5rHyMCgaJpZM4JjkiI.gif>
|
@dsharletg - thanks. We don't need the hexagon simulator under halide. So I will look into what you suggest. I would think the back-end link-edit for the hexagon must happen with hexagon tools and maybe the existing tools will work. @ronlieb - thanks. I have sent you an email separately. If you can recall why the halide runtime cannot work with the 7.2.x tools, maybe I can make a workaround. |
Hi all, |
Hello,
It might be a test signature issue, or perhaps you need tp push the 3 libraries. To the device
If you could run
adb logcat
in a window or shell and watch its content while running the above program, it would provide some additional clues for us to help here.
To push the 3 libraries, you would need to have done something like
adb push arm-32-android/libhalide_hexagon_host.so /system/lib/
adb push arm-64-android/libhalide_hexagon_host.so /system/lib64/
adb push v60/libhalide_hexagon_remote_skel.so /system/lib/rfsa/adsp/
if it’s a test signature issue, then I can provide additional details.
Thanks.
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: ckun5 [mailto:notifications@github.com]
Sent: Tuesday, September 12, 2017 4:22 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Hi all,
Thans a lot. I did as above, so I can run using CPU schedule,but can not HVX. Log shows below:
Using CPU schedule
Running pipeline...
Done, time: 0.0026418 s
Success!
Using HVX 64 schedule
Running pipeline...
Using HVX 128 schedule
Running pipeline...
So, how can I do? Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZwsrjwlIDAAdojGWUx1T_-Ou9Qd5ks5shk1NgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ56wi3HY876yJ9lMxjshw0BB53hbks5shk1NgaJpZM4JjkiI.gif>
|
I have pushed the 3 libraries like: adb root There is a test signature and I can run HVX example downscaleBay2 successfully, so it means signature is right. Is there a signature for Halide? |
Hi ckun,
I believe Gino Wu replied to you through your company email address on this issue.
Essentially you need to get the Qualcomm Hexagon SDK 3.3.0 release and use the Halide we distributed inside the
Hexagon_tools 8.1.04
This supports the use of the CDSP within the SDM660 which I believe you are using.
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: ckun5 [mailto:notifications@github.com]
Sent: Saturday, September 16, 2017 7:45 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
I have pushed the 3 libraries like:
adb root
adb remount
adb shell mkdir -p /system/lib/rfsa/adsp
adb push $HALIDE_ROOT/lib/arm-32-android/libhalide_hexagon_host.so /system/lib/
adb push $HALIDE_ROOT/lib/arm-64-android/libhalide_hexagon_host.so /system/lib64/
adb push $HALIDE_ROOT/lib/v60/libhalide_hexagon_remote_skel.so /system/lib/rfsa/adsp/
adb reboot
There is a test signature and I can run HVX example downscaleBay2 successfully, so it means signature is right. Is there a signature for Halide?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ1nPn8VuCIRJ2upblXDblyrC-DFdks5si8LigaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ6n5kn5uKoMchCZPDYb_6dyRdG2mks5si8LigaJpZM4JjkiI.gif>
|
Hi Ron, ......
To run this example on an Android device, do:
But when I ran it on my phone, it didn't work, the logs shows below:
I can use CPU schedule with the Hexagon SDK 3.2, but now can't. I also tested it on the phone with the Snapdragon 835 and got the same result. |
I do not see the logs attached in this email.
Could you send along the logcat output from the device which is failing ?
Send it to my work email address please.
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: ckun5 [mailto:notifications@github.com]
Sent: Wednesday, September 27, 2017 7:46 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Hi Ron,
Thank you very much!
I got the Hexagon SDK 3.3.0. I tested it on the phone with SDM660 and it still be wrong.
There is no problem when I ran ./test-Hello-app-android .The logs shows below:
......
* result=0
* cat
To run this example on an Android device, do:
adb push bin/process-hello-android /data/
adb shell chmod +x /data/process-hello-android
adb shell /data/process-hello-android cpu 10
adb shell /data/process-hello-android hvx64 10
adb shell /data/process-hello-android hvx128 10
* exit 0
But when I ran it on my phone, it didn't work, the logs shows below:
Using CPU schedule
Using HVX 64 schedule
Using HVX 128 schedule
I can use CPU schedule with the Hexagon SDK 3.2, but now can't. I also tested it on the phone with the Snapdragon 835 and got the same result.
Please help me to see if there is something not right.
@abadams <https://github.com/abadams>
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ0UiTKzW3DIY3l9IrqgsXI5OzhcIks5smkOSgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZyt2GrVlxnEq7qvTELQn9tmXp2Bvks5smkOSgaJpZM4JjkiI.gif>
|
@ronlieb I read the thread and have the same core-dump issue on 2 out of 7 Examples:
Tested with SDK 7.22 ad 8.0.10. Could you let me know which version is compatible with what Halide? Also, the README.md file in the git seems to point to nonexistent folders when it describes the env-set for Hallide at the end. A little clarification might be helpful. Thanks. |
You should obtain from create point
Hexagon SDK 3.2 or 3.3.0
And Hexagon-Tools 8.1.04
And Halide-tools 2.0
The Halide REAMDE.md file looks really out of date to me.
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Amir H. Ashouri [mailto:notifications@github.com]
Sent: Monday, October 23, 2017 1:09 PM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
@ronlieb <https://github.com/ronlieb> I read the thread and have the same core-dump issue on 3 out of 7 Examples. Tested with SDK 7.22 ad 8.0.10. Could you let me know which version is compatible with what Halide? Also, the README.md file in the git <https://github.com/halide/Halide> seems to point to nonexistent folders when it describes the env-set for Hallide at the end. A little clarification might be helpful. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZzhQuEv83g5GmwkY4sD3Gqmz9DAvks5svNY0gaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZx6nCENwTiRcPvEVmdSQdTajynJPks5svNY0gaJpZM4JjkiI.gif>
|
Thanks, @ronlieb for the clarification. I was wondering whether |
If you are using the Halide 2.0 release from Qualcomm, then there are two others
hexagon_benchmarks, and device-standalone
For support questions specific to the Qualcomm Halide release , please use halide @ quicinc.com
Ron.
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Amir H. Ashouri [mailto:notifications@github.com]
Sent: Wednesday, October 25, 2017 4:34 PM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Thanks, @ronlieb <https://github.com/ronlieb> for the clarification. I was wondering whether HelloHexagon and test-camera-pipe are the only apps which can be executed on the actual board. It seems that the other 5 are executable with simulator only. Am I correct?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ0lHHDgB4_n2FImR0mc4T8LxnL6Rks5sv6lggaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ008tlCvBEGRNYUdZ73W3ipcoNQnks5sv6lggaJpZM4JjkiI.gif>
|
Thanks, @ronlieb. The reason I asked was the fact that I could not find the Halide 2.0 (from the create point). I can see these apps at the |
See if you can access this link for the linux 2.0 release
https://createpoint.qti.qualcomm.com/tools/#suite/3022/13342
let me know if that does not work.
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Amir H. Ashouri [mailto:notifications@github.com]
Sent: Wednesday, October 25, 2017 5:30 PM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Thanks, @ronlieb <https://github.com/ronlieb> . The reason I asked was the fact that I could not find the Halide 2.0 (from the create point). I can see these apps at the Halide Git. I am not sure with my current setup (SDK v3.2) I can use the apps in the Git. Could you let me know the correct download link?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ-zw6YLb5Lrrx8Rcr9l4-rdZmc47ks5sv7Z3gaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZxUfkmsSzyKNrsQAXXiR02zv1yVEks5sv7Z3gaJpZM4JjkiI.gif>
|
@ronlieb, It redirects to this webpage |
Please send me your contact info offline to ronl @ quicinc.com
So that I can connect you with our appropriate folks to manage createPoint.
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Amir H. Ashouri [mailto:notifications@github.com]
Sent: Wednesday, October 25, 2017 5:47 PM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
It redirects to this webpage https://createpoint.qti.qualcomm.com/tools/public/error/notfound which says item not found.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ997_B38Sl5wubvg3Ml6FaOahD4wks5sv7ppgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ05Z13Mi5bxJrqiKYWLj32K9cy3Yks5sv7ppgaJpZM4JjkiI.gif>
|
Thanks, @ronlieb. For now I executed the So these outputs are seen on the board:
The rest were not executed, i.e.:
(2) Also looking at my logcat, apparently something is crashing. Can you trace it?
P.s: I had already signed my board using this method before. |
Could you also provide the mini-dm output?
I think there may be a message on the hexagon console as well.
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Amir H. Ashouri [mailto:notifications@github.com]
Sent: Thursday, October 26, 2017 8:44 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Thanks, @ronlieb <https://github.com/ronlieb> . For now I executed the HelloHexagon and collected te adb logcat to see how does that work. I got two questions.
(1) Why only the first printf in the process.cpp gets executed on the board, the rest it seems to be only executed on the simulator as I don't see the outputs on the board:
These outputs are seen on the board:
int (*pipeline)(buffer_t *, buffer_t*);
if (strcmp(argv[1], "cpu") == 0) {
pipeline = pipeline_cpu;
printf("Using CPU schedule\n");
} else if (strcmp(argv[1], "hvx64") == 0) {
pipeline = pipeline_hvx64;
printf("Using HVX 64 schedule\n");
} else if (strcmp(argv[1], "hvx128") == 0) {
pipeline = pipeline_hvx128;
printf("Using HVX 128 schedule with %d iterations\n",atoi(argv[2]));
} else {
printf("Unknown schedule, valid schedules are cpu, hvx64, or hvx128\n");
return -1;
}
int iterations = atoi(argv[2]);
The rest are not executed, i.e.:
halide_hexagon_power_hvx_on(NULL);
printf("Running pipeline with (width, height)=(%d,%d)\n",W,H);
double time = benchmark(iterations, 10, [&]() {
int result = pipeline(in, out);
if (result != 0) {
printf("pipeline failed! %d\n", result);
}
});
(2) Also looking at my logcat, apparently something is crashing. Can you trace it?
04-09 21:09:55.892 29780 29780 F DEBUG : sp 0000007fec999a90 pc 0000005555564f88 pstate 0000000080
000000
04-09 21:09:55.897 29780 29780 F DEBUG :
04-09 21:09:55.897 29780 29780 F DEBUG : backtrace:
04-09 21:09:55.898 29780 29780 F DEBUG : #00 pc 000000000000ff88 /data/process-hello-android (main+3384
)
04-09 21:09:55.898 29780 29780 F DEBUG : #1 pc 000000000001a758 /system/lib64/libc.so (__libc_init+88)
04-09 21:09:55.898 29780 29780 F DEBUG : #2 pc 0000000000010334 /data/process-hello-android (do_arm64_
start+60)
--------- beginning of system
04-09 21:09:55.922 1158 1343 W NativeCrashListener: Couldn't find ProcessRecord for pid 29778
04-09 21:09:55.924 421 421 W : debuggerd: resuming target 29778
04-09 21:09:55.925 421 421 E : debuggerd: failed to send signal 18 to target: No such process
04-09 21:09:55.925 1158 1207 I BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBST
ONE)
04-09 21:12:15.528 1880 2406 I DPMJ : |SERVICE| DPM_D_REQ_GET_RUNNING_APP_LIST
04-09 21:12:27.573 29798 29798 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 29798 (pro
cess-hello-a)
04-09 21:12:27.573 421 421 W : debuggerd: handling request: pid=29798 uid=0 gid=0 tid=29798
04-09 21:12:27.629 29800 29800 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-09 21:12:27.629 29800 29800 F DEBUG : Build fingerprint: 'Android/msm8996/msm8996:7.0/OpenQ-820_N_v3.2/git03151147:userdebug/test-keys'
04-09 21:12:27.629 29800 29800 F DEBUG : Revision: '0'
04-09 21:12:27.629 29800 29800 F DEBUG : ABI: 'arm64'
04-09 21:12:27.629 29800 29800 F DEBUG : pid: 29798, tid: 29798, name: process-hello-a >>> /data/process-hello-android <<<
04-09 21:12:27.629 29800 29800 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
04-09 21:12:27.630 29800 29800 F DEBUG : x0 000000006b8b4567 x1 0000000000000001 x2 0000000000000000 x3 0000000000400000
04-09 21:12:27.630 29800 29800 F DEBUG : x4 0000000000000001 x5 0000000000000001 x6 0000000000000000 x7 0000000000400000
04-09 21:12:27.630 29800 29800 F DEBUG : x8 0000000000000000 x9 0000000000000002 x10 0000000000000001 x11 0000000000000000
04-09 21:12:27.630 29800 29800 F DEBUG : x12 0000007f86dd75e0 x13 0000007f86dd7658 x14 0000007f86dd75dc x15 0000007f86e23000
04-09 21:12:27.630 29800 29800 F DEBUG : x16 0000007f86dd6458 x17 0000007f86d7e24c x18 00000000ffffffff x19 0000000000000000
04-09 21:12:27.630 29800 29800 F DEBUG : x20 0000000000000001 x21 0000000000c00000 x22 0000000000000000 x23 0000000000000001
04-09 21:12:27.630 29800 29800 F DEBUG : x24 0000007fd722b350 x25 0000000000c00000 x26 0000000000c00000 x27 0000000000000000
04-09 21:12:27.630 29800 29800 F DEBUG : x28 000000555557d64c x29 0000007fd722b260 x30 0000005555564f88
04-09 21:12:27.630 29800 29800 F DEBUG : sp 0000007fd722b260 pc 0000005555564f88 pstate 0000000080000000
04-09 21:12:27.635 29800 29800 F DEBUG :
04-09 21:12:27.635 29800 29800 F DEBUG : backtrace:
04-09 21:12:27.635 29800 29800 F DEBUG : #00 pc 000000000000ff88 /data/process-hello-android (main+3384)
04-09 21:12:27.635 29800 29800 F DEBUG : #1 pc 000000000001a758 /system/lib64/libc.so (__libc_init+88)
04-09 21:12:27.635 29800 29800 F DEBUG : #2 pc 0000000000010334 /data/process-hello-android (do_arm64_start+60)
04-09 21:12:27.661 1158 1343 W NativeCrashListener: Couldn't find ProcessRecord for pid 29798
04-09 21:12:27.664 421 421 W : debuggerd: resuming target 29798
04-09 21:12:27.664 421 421 E : debuggerd: failed to send signal 18 to target: No such process
04-09 21:12:27.664 1158 1207 I BootReceiver: Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ03UU0fbNT7TsVKul-fO2JSJltlNks5swIydgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ2_cpELdAgQrjiW46AYUZSrihcDjks5swIydgaJpZM4JjkiI.gif>
|
@ronlieb I am not sure how to open that to monitor the 820 board:
Also I checked the assembly generated by ARM-backend and it seems that it does not have any HVX vector instruction inside:
|
Run the mini-dm as root (Sudo) that should fix the device error issue
The offloading of hexagon code is done through a shared library embedded in the executable.
This is passed to hexagon/HVX via dlopenbuf from the android/arm side
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Amir H. Ashouri [mailto:notifications@github.com]
Sent: Thursday, October 26, 2017 11:44 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
@ronlieb <https://github.com/ronlieb> I am not sure how to open that to monitor the 820 board:
$Hexagon_SDK/3.2/tools/debug/mini-dm/Linux_Debug/mini-dm
Running mini-dm version: 3.1
Device open failed with error -3
$Hexagon_SDK/3.2/tools/debug/mini-dm/Linux_Debug/mini-dm devices
Connected devices:
Device: 0x220ccf0 Port#: 4
$Hexagon_SDK/3.2/tools/debug/mini-dm/Linux_Debug/mini-dm devices 4
Running mini-dm version: 3.1
The following are the connected devices
Device open failed with error -3
Also I checked the assembly generated by ARM-backend and it seems that it does not have any HVX vector instruction inside:
mov x0, 0
bl halide_hexagon_power_hvx_on
mov w1, 4096
adrp x0, .LC13
add x0, x0, :lo12:.LC13
mov w2, w1
bl printf
ldr w0, [x29,176]
cmp w0, wzr
ble .L156
ldr d8, .LC3
adrp x25, .LC14
ldr d9, .LC15
mov w23, 0
add x25, x25, :lo12:.LC14
.L113:
bl _ZNSt6chrono3_V212system_clock3nowEv
mov w21, 10
mov x22, x0
b .L108
.L212:
subs w21, w21, #1
beq .L211
.L108:
fmov x0, d11
fmov x1, d10
blr x28
mov w1, w0
cbz w0, .L212
mov x0, x25
bl printf
subs w21, w21, #1
bne .L108
.L211:
bl _ZNSt6chrono3_V212system_clock3nowEv
sub x0, x0, x22
mov x1, 63439
movk x1, 0xe353, lsl 16
movk x1, 0x9ba5, lsl 32
smulh x1, x0, x1
asr x2, x1, 7
sub x0, x2, x0, asr 63
scvtf d1, x0
fdiv d1, d1, d9
fcmpe d1, d8
bpl .L111
fmov d8, d1
.L111:
ldr w0, [x29,176]
add w23, w23, 1
cmp w23, w0
bne .L113
fmov d0, 1.0e+1
fdiv d0, d8, d0
b .L106
.L156:
ldr d0, .LC3
.L106:
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
mov x0, 0
bl halide_hexagon_power_hvx_off
ldr w3, [x29,360]
mov w0, 1
mov w1, 4
mov w2, 6
strh w0, [x29,224]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ-a8Wl21dbnutwjE1GGH7kPV_14Cks5swLbIgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ7ezx0EhAezaxS1ahPYbUKkVVknQks5swLbIgaJpZM4JjkiI.gif>
|
Sorry if I don't know how to collect msg using
@ronlieb, so -Output for HellowHexagon
|
In one linux shell run
sudo $Hexagon_SDK/3.2/tools/debug/mini-dm/Linux_Debug/mini-dm 4
Then run your application via adb, and observe the output from mini-dm
Ron
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Amir H. Ashouri [mailto:notifications@github.com]
Sent: Thursday, October 26, 2017 12:34 PM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Sorry if I don't know how to collect msg using mini-dm. mini-dm help shows only two options and none is outputting any monitoring logs. Basically, nothing displays on the output:
$Hexagon_SDK/3.2/tools/debug/mini-dm/Linux_Debug/mini-dm 4
Running mini-dm version: 3.1
The following are the connected devices
mini-dm is waiting for a DMSS connection...
DMSS is connected. Running mini-dm...
@ronlieb <https://github.com/ronlieb> , so objdump should be able to see it?
-Output for HellowHexagon process-hello-android:
2118 6e84: d61f00a0 br x5
2119
2120 0000000000006e88 <_ZN6Halide7Runtime8Internal22halide_get_symbol_implEPKc>:
2121 6e88: aa0003e8 mov x8, x0
2122 6e8c: aa1f03e0 mov x0, xzr
2123 6e90: aa0803e1 mov x1, x8
2124 6e94: 17fff90b b 52c0 <dlsym@plt>
2125
2126 0000000000006e98 <_ZN6Halide7Runtime8Internal24halide_load_library_implEPKc>:
2127 6e98: f81e0ff3 str x19, [sp,#-32]!
2128 6e9c: 320003e1 orr w1, wzr, #0x1
2129 6ea0: a9017bfd stp x29, x30, [sp,#16]
2130 6ea4: 910043fd add x29, sp, #0x10
2131 6ea8: 97fff8ee bl 5260 <dlopen@plt>
2132 6eac: aa0003f3 mov x19, x0
2133 6eb0: b5000053 cbnz x19, 6eb8 <_ZN6Halide7Runtime8Internal24halide_load_library_impl EPKc+0x20>
2134 6eb4: 97fff88f bl 50f0 <dlerror@plt>
2135 6eb8: a9417bfd ldp x29, x30, [sp,#16]
2136 6ebc: aa1303e0 mov x0, x19
2137 6ec0: f84207f3 ldr x19, [sp],#32
2138 6ec4: d65f03c0 ret
2139
2140 0000000000006ec8 <_ZN6Halide7Runtime8Internal30halide_get_library_symbol_implEPvPKc>:
2141 6ec8: 17fff8fe b 52c0 <dlsym@plt>
2142
2143 0000000000006ecc <halide_set_custom_get_symbol>:
2144 6ecc: 900002a9 adrp x9, 5a000 <cplus_demangle_operators+0x78>
2145 6ed0: f9476129 ldr x9, [x9,#3776]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ2ft7pS9_vbYqpSNtNBA9VDpEB5Zks5swMJ5gaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ1ihXbwl6KbLyfLIxJIy2MLmKHj2ks5swMJ5gaJpZM4JjkiI.gif>
|
Thanks Ron, but last time I exactly did that. Nothing is shown via mini-dm |
Can you tar up your executable and send it my email ?
ronl @ quicinc.com
I can try running it here on device.
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Amir H. Ashouri [mailto:notifications@github.com]
Sent: Thursday, October 26, 2017 1:12 PM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] Error running HelloHexagon (#1444)
Thanks Ron, but last time I exactly did that. Nothing is shown via mini-dm
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1444 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZyB1iynl84rS8DodLicQYm28-CvXks5swMtSgaJpZM4JjkiI> . <https://github.com/notifications/beacon/APZMZ-j5OFWW87jlz-OZvLPxb_Wmbg4xks5swMtSgaJpZM4JjkiI.gif>
|
Following the instruction in Readme to install Hexagon SDK, installed LLVM 4.0, recompile the halide sources using LLVM 4.0 again too. Using the Hexagon SDK installer I got from Qualcomm, there is only "HEXAGON_Tools/7.2.12" directory, which is different from the description in Readme of "Hexagon_Tools/8.0" I tried hard searching around and not able to find Hexagon tools 8.0 anywhere.
Now if I adjust HL_HEXAGON_TOOLS accordingly to make things compile, I run into this error:
Search deeper, and apparently HexagonOffload.cpp is creating a temporary file and pass it to hexagon-clang, but the temporary file does not look like something I am familiar with (not C/C++).
Anybody knows what is going wrong? Does it has to do with the wrong version of Hexagon Tools?
Thanks!
The text was updated successfully, but these errors were encountered: