Forum Discussion
Altera_Forum
Honored Contributor
8 years agoLocal variables in Kernel
Hi! I was getting bad results in my kernel, so i decided to printf the local variables marked on the code in bold and blue. At every iteration of the 2nd loop the value from previous itera...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Whats the diference between EnqueueMap and EnqueueWrite, the two also keep stored on the device memory? --- Quote End --- https://stackoverflow.com/questions/22057692/whats-the-difference-between-clenqueuemapbuffer-and-clenqueuewritebuffer For non-SoC FPGA devices, both functions will copy the buffer from host to device. For SoC FPGAs with shared memory, however, using EnqueueMap will allow you to avoid double buffer allocation.