Segmentation Fault in clEnqueueWriteBuffer

Discussion created by spyzer.abhishek0 on Oct 11, 2010
Latest reply on Oct 11, 2010 by spyzer.abhishek0

Hi all,

I am trying to create a buffer of size 2*10^6*sizeof(int) from a dynamically allocated array in my program using clEnqueueWriteBuffer, and instead of any predefined error like out of resources etc. as a return value, I get segmentation fault in allocating buffer. Please help.


Thank You.