Forum Discussion
Altera_Forum
Honored Contributor
8 years agoIf you want to disable the cache on global memory LSU you need to mark the "pointer" as volatile and not the data type B_parallel, so instead of
__kernel foo(__global volatile const B_parallel *W, int count) you're looking for: __kernel foo(__global const B_parallel * volatile W, int count) Also note, that const and __constant are different.