3 Replies Latest reply on Oct 11, 2010 7:10 PM by spyzer.abhishek0

    Segmentation Fault in clEnqueueWriteBuffer

    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.