Forum Discussion
Altera_Forum
Honored Contributor
8 years agoThe configuration mode is not directly controllable in OpenCL. The compiler will automatically choose the best one for you. I would assume the configuration width would be the same as your type size; e.g. for short it will be x16. However, if you have unrolled consecutive accesses to the local buffer, then the compiler or eventually the mapper will instead opt to merge the small consecutive accesses into a larger coalesced one. You should be able to see the width and depth of the allocated buffer in the area report. It is also possible that the mapper would map smaller buffers to MLAB. The OpenCL compiler does not explicitly map anything to MLAB (or at least I have never seen any mention of MLAB in the area report".