Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHi HRZ
Thanks for the reply. I overlook that you redefined the int. For the first one, as far as I know CUDA or OpenCL(GPU) won't run different kernels concurrently unless you specified it with stream, but for Altera FPGA will just launch them concurrently right? -------- Just read the Best Practices Guide and it mentioned in AOCL you use different queues to enable concurrent execution and use attribute (blocking) to avoid data race in pipeline. Another thing I'm wondering is does launching kernels using NDRange for FPGA really execute them in parallel or just pipeline fashion? One of Altera's online lesson said we should launch kernels in pipeline parallelism, so I assume NDRange is full parallelism, but if that's the case why is the hardware usage already determined when compiling aocx? Because you specify it with attribute? Sorry for the second question, it should be documented somewhere but I may be using the wrong key word and can't find it. Thanks