Can you please post your System config: CPU,GPU,SDK,DRIVER,OS?
Can you verify that clInfo shows sufficient Max Memory Allocation in clInfo.
This thread might be of interest:http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=149197&forumid=9
If the problem is not solved please send a small testcase.
Originally posted by: sakuri Hi,
Any idea where could be the problem?
Maybe you inadvertently broke the buffer size calculation and it calls clCreateBuffer with some extremely high or negative value? Try to run your code in a debugger and see what value it sends to the buffer creation call.