thinkoco / c5soc_opencl

DE1SOC DE10-NANO DE10-Standard OpenCL hardware that support VGA and desktop. And Some applications such as usb camera YUYV to RGB , Sobel and so on.
Apache License 2.0
90 stars 39 forks source link

Support for Intel OpenCL SDK 17.1 #4

Closed META-DREAMER closed 6 years ago

META-DREAMER commented 6 years ago

Hi there, I am trying to get this to work with OpenCL SDK 17.1 on my de10-nano board, but am having trouble. I am trying to run this project: https://github.com/doonny/PipeCNN.

I was able to successfully get it working using the OpenCL image for the de10 nano provided by terasic, but unfortunately that image doesnt support HDMI and ethernet. I cross-compiled the PipeCNN kernel and host using Intel OpenCL SDK 17.1 and the de10-nano BSP on my desktop and transferred to the de10-nano board. It successfully ran there, even though it had the 16.1 binaries.

I then tried using this repo's BSP and followed the instructions here, recompiling the PipeCNN kernel with the de10_nano_sharedonly_hdmi BSP from this repo. However, it would give this error: libintel_soc32_mmd.so cannot opened shared object file: no such file or directory and various other errors. Im guessing this error is because that file used to be called libalterammdpcie.so but intel changed a bunch of the names in 17.1. So, I tried recompiling the kernel drivers for 17.1 (zImage, socfpga.dtb, and opencl.rbf) as well as getting the latest aocl binaries from intel for 17.1. I was finally able to get PipeCNN to run, however the execution gets stuck on layer 1. You can read more about that here: https://github.com/doonny/PipeCNN/issues/53.

Do you know what steps I'm missing to get this working with 17.1? Unfortunately I cant do 16.1 because of licensing issues that were not able to be resolved with the eth0 fix. Intel removed the requirement for licensing in 17.1 when using aoc, so thats the only choice I have.

timothyljstewart commented 3 years ago

Does this email reply work? Hmm test test...

Have you checked that you have the correct environment variables exported?

Very Respectfully,

Timothy L. J. Stewart

Sent from my iPhone

On Mar 25, 2021, at 08:26, datnguyen263 @.***> wrote:



Dear @thinkocohttps://github.com/thinkoco, i tried follow to issues to fix my problem but i cant solve it. Can u help me with my problem? tks so much! [image]https://user-images.githubusercontent.com/55569925/112480182-57ae6080-8da8-11eb-800f-3bc7babf82b2.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/thinkoco/c5soc_opencl/issues/4#issuecomment-806739439, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHP5DTOXIB6BEB5YDG2CCQDTFM2ZDANCNFSM4ETFAVIQ.

datnguyen263 commented 3 years ago

Does this email reply work? Hmm test test... Have you checked that you have the correct environment variables exported? Very Respectfully, Timothy L. J. Stewart Sent from my iPhone On Mar 25, 2021, at 08:26, datnguyen263 @.***> wrote:  Dear @thinkocohttps://github.com/thinkoco, i tried follow to issues to fix my problem but i cant solve it. Can u help me with my problem? tks so much! [image]https://user-images.githubusercontent.com/55569925/112480182-57ae6080-8da8-11eb-800f-3bc7babf82b2.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHP5DTOXIB6BEB5YDG2CCQDTFM2ZDANCNFSM4ETFAVIQ.

its my email! can u ask me detail environment variables exported?

bulentcandan commented 1 year ago

Hello, I am trying to compile example "boardtest" host side on Visiul Studio 2019 and alterammdpcie.lib is not found. I could not find it any where within the OpenCL SDK. I am using SDK 22.4. Can you provide information on where to get this library. Best Regards Bülent CANDAN