5 Replies Latest reply on Feb 17, 2012 10:40 PM by viscocoa

    Oversized constant memory cause kernel dumb

    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!