doonny / PipeCNN

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

single Merged WI kernel vs multiple kernels #82

Closed manojrohit closed 6 years ago

manojrohit commented 6 years ago

Hello @doonny , I am trying to merge all the kernels into single WI kernel. But do you think this strategy would be more effective? I think passing the values using local memory would be faster than OpenCL channels? What do you think would be the challenges in the implementation of single merged Kernel?

doonny commented 6 years ago

I think a single kernel would also work, but hard to say which one is more efficient. Need to explore the results before making such conclusion.