doonny / PipeCNN

An OpenCL-based FPGA Accelerator for Convolutional Neural Networks
Apache License 2.0
1.22k stars 370 forks source link

Some problems encounted when compiling using De0-Nano-SoC board #69

Closed roddregs closed 5 years ago

roddregs commented 6 years ago

@doonny Hi Sir, good day! Tried to compile PipeCNN in Deo-Nano-SoC board. However, I encountered the following problem when running the main makefile: g++ ./host/main.o ../common/ocl_util.o ../common/timer.o -o run.exe -L/thesis/intelFPGA/16.1/hld/board/de1soc/arm32/lib -L/thesis/intelFPGA/16.1/hld/host/arm32/lib -L/thesis/intelFPGA/16.1/hld/host/linux64/lib -Wl,--no-as-needed -lalteracl -lalterahalmmd -lalterammdpcie -lelf /usr/bin/ld: cannot find -lalterammdpcie collect2: error: ld returned 1 exit status Makefile:118: recipe for target 'run.exe' failed make: *** [run.exe] Error 1 Is Deo-Nano-SoC board compatible with the configurations of PipeCNN? Thank you very much for your reply in advance, Sir doonny...

doonny commented 6 years ago

Do you mean DE10-nano ?

roddregs commented 6 years ago

Sir @doonny, it's De0-nano board, cyclone 5 from terasic. I would like to experiment running PipeCNN using De0-Nano-SoC board but encountered errors mentioned above. Do you think the configurations of PipeCNN will also fit in De0-Nano-SoC board? Thanks in advance for your response, Sir @doonny....

doonny commented 6 years ago

I don't think there is a OpenCL BSP for DE0-nano board.

zhenyu707 commented 6 years ago

Hello @doonny @roddregs ,

I am trying to run this in De10-nano but there is some error. May I know how to solve this? capture

For your information, threre is a OpenCL BSP for De10-nano and this is the link : http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&No=1046&PartNo=4

Thank you very much

doonny commented 6 years ago

The cyclone device does not support emulator model.

zhenyu707 commented 6 years ago

Hello @doonny ,

Would this error be solved if I run on De10-Standard?

Thank you.

doonny commented 6 years ago

All SoC-FPGA does not support emualtor model. You need to use PCIE-based bsp.

CrazyBingo commented 6 years ago

@

image the same as you, @zhenyu707 , have you ever resolve it?(my board is de10 .too)

zhenyu707 commented 6 years ago

@CrazyBingo Hello, the problem still can not be solved.

doonny commented 5 years ago

I am assuming the problem has been solved.