AnsweredAssumed Answered

OpenCL Maximum Buffer Size of Kernel Argument

Question asked by stuart.rogers on Jun 26, 2013
Latest reply on Jul 9, 2013 by himanshu.gautam

I create an OpenCL buffer, using clCreateBuffer and CL_MEM_WRITE_ONLY, that is only written to by an OpenCL kernel. The global_work_size[1] is 2500. The buffer is a large array of doubles consisting of about 655 megabytes. When I run the OpenCL program it hangs the whole computer. But if the buffer is around 330 megabytes or less, the OpenCL program works fine. I am using an AMD FirePro W8000 with AMD SDK v2.8 on Red Hat 6.2. Is there a maximum kernel argument buffer size?

Outcomes