Altera_Forum
Honored Contributor
8 years agoM20k block configuration
Hi all!
I'm new to OpenCL and the FPGA world in general and I'm just starting to grasp how to properly use M20K blocks for parallel accesses. Since I need very many of them over several arrays that are actually shallow in depth, the result is that the RAM usage explodes, while the single block is heavily underused. I bumped into the __attribute__((merge(...))) directive in the documentation. This should allow to implement different variables in the same memory subsystem. However, when I insert it, the "aoc -c ..." complains saying it doesn't know such an attribute. Is there a workaround or a solution to the problem? Edit: I'm using OpenCL 16.1 which is the most recent version supported by my board