Giter Site home page Giter Site logo

Comments (9)

doonny avatar doonny commented on July 21, 2024 1

Please install required libs for OpenCL SDK. check it with intel's latest user manual.

from pipecnn.

thinkoco avatar thinkoco commented on July 21, 2024

@rvakash Yes,it should be make first in the IP core file.

from pipecnn.

rvakash avatar rvakash commented on July 21, 2024

@thinkoco There is no Makefile inside the IP core. Inside the RTL folder there is a Makefile which I have compiled and generated the rtl_lib.aoclib and rtl_lib.aoco files.

from pipecnn.

doonny avatar doonny commented on July 21, 2024

@rvakash please use the makefile provided. Your compile command is not correct.

from pipecnn.

rvakash avatar rvakash commented on July 21, 2024

Hi,
Thanks, I was able to run it on the emulator with the Makefile provided.
But with fpga I am getting -
aoc: First stage compilation completed successfully.
Error: Compiler Error, not able to generate hardware

I have changed FLOW = hw in Makefile. Anything else I need to change ?

from pipecnn.

rvakash avatar rvakash commented on July 21, 2024

I am getting the following error -

rvakash@build1:/data/05297/rvakash/PipeCNN1/PipeCNN/project$ make
aoc -v --report --profile -I device/RTL -L device/RTL -l rtl_lib.aoclib -g device/conv_pipe.cl -o conv.aocx
Resolving library filenames to full paths
lib_path = device/RTL
lib_file = rtl_lib.aoclib
Resolved rtl_lib.aoclib to /data/05297/rvakash/PipeCNN1/PipeCNN/project/device/RTL/rtl_lib.aoclib
lib_path = .
aoc: Environment checks are completed successfully.
You are now compiling the full flow!!
aoc: Selected default target board bdw_fpga_v1.0
aoc: Running OpenCL parser....
In file included from :11140:
:2:30: warning: ISO C99 requires whitespace after the macro name
#define ACL_BOARD_bdw_fpga_v1.0 1
^
:3:31: warning: ISO C99 requires whitespace after the macro name
#define AOCL_BOARD_bdw_fpga_v1.0 1
^
2 warnings generated.
aoc: OpenCL parser completed successfully.
aoc: Compiling....
aoc: Linking with IP library ...
Compiler Warning: Kernel 'lrn': limiting to 3 concurrent work-groups to support variable work-group sizes. Specify a reqd_work_group_size if possible. Please see Known Issue #2 in the Release Definition document for more details.

+--------------------------------------------------------------------+
; Estimated Resource Usage Summary ;
+----------------------------------------+---------------------------+
; Resource + Usage ;
+----------------------------------------+---------------------------+
; Logic utilization ; 68% ;
; ALUTs ; 31% ;
; Dedicated logic registers ; 38% ;
; Memory blocks ; 42% ;
; DSP blocks ; 15% ;
+----------------------------------------+---------------------------;
aoc: First stage compilation completed successfully.
Error: Compiler Error, not able to generate hardware

Makefile:135: recipe for target 'conv.aocx' failed
make: *** [conv.aocx] Error 1

Thank you

from pipecnn.

rvakash avatar rvakash commented on July 21, 2024

Hi, I was able to generate the conv.aocx file. When I run it I am getting a new error.

pnirali@harp8:/data/05297/pnirali/PipeCNN2/project$ ./run.exe conv.aocx
./run.exe: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./run.exe)

I am using gcc-4.8.4

from pipecnn.

arun0303 avatar arun0303 commented on July 21, 2024

hi Prof Doony,
I am also having the same error while running the file in DE10 Standard kit
./run.exe conv.aocx
./run.exe: libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./run.exe)
I had installed all the required libs as mentioned in intel latest manual.
Kindly help me with this issue

from pipecnn.

Frankzd avatar Frankzd commented on July 21, 2024

Hi @rvakash I am facing the same problem that you met before
微信截图_20190319193547

do you remember how to solve it?

I am using PAC_A10 and SDK 17.1 by the way.

from pipecnn.

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.