8 Replies Latest reply on Oct 15, 2013 2:49 AM by cuanos

    OpenCl Sample in visual studio 10 throwing exception: heap corrupted


      I've a computer with intel i5 and ATI 7670M gpu. I am trying to run the samples supplied with APP-SDK-2.8. In win32 configuration firstly vs10 is throwing

      Windows has triggered a breakpoint in opcl_test.exe.

      This may be due to a corruption of the heap, which indicates a bug in opcl_test.exe or any of the DLLs it has loaded.

      This may also be due to the user pressing F12 while opcl_test.exe has focus.

      The output window may have more diagnostic information.

      If I continue it keeps on throwing Unhandled exception at 0x775740f2 in opcl_test.exe: 0xC0000374: A heap has been corrupted.

      But in x64 configuration all the things are happening same but the programm is running after a few exception. What is the cause of the problem and how to fix it?

      Note: I am using windows 7(64bit)