doonny / PipeCNN

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

Cannot Launch lrn kernel in Layer 0 #78

Closed manojrohit closed 6 years ago

manojrohit commented 6 years ago

Hello @doonny

I am obtaining the following error when I run this on Arria10 :

Executing Layer 1:

Launching single work-item kernel winbuffer

Launching single work-item kernel Conv

Launching single work-item kernel Pooling

Launching kernel MemWr with local size: 1, 1, 64 (global size: 27, 27, 128)

Launching kernel lrn with local size: 1, 1, 6 (global size: 27, 27, 6) ERROR: CL_INVALID_EVENT Location: host/main.cpp:870 Failed to finish lrn event

My VEC_SIZE is 16, LANE_NUM is 64, CONV_GP_SIZE_X is 7. My board model is
https://www.altera.com/products/boards_and_kits/dev-kits/altera/kit-a10-gx-fpga.html

Do you think I have used many resources?

manojrohit commented 6 years ago

I think this issue occurs multiple devices. With single device I face no issue. :)