AnsweredAssumed Answered

Oversized constant memory cause kernel dumb

Question asked by viscocoa on Feb 13, 2012
Latest reply on Feb 17, 2012 by viscocoa

I accidentally past a memory object to the kernel for the constant argument, whose size is over the 64k limit of Radeon HD 5870. That made the kernel totally ignored. I could not find it in the timeline in APP Profiler.

 

With previous APP SDK, the program compiles and runs with no problem. I guess the __constant memory is simply treated as __global.

 

Isn't it better to ignore the __constant, or complain that constant memory overflows, rather than to ignore the kernel silently?

 

Thanks!

Outcomes