12 Replies Latest reply on Apr 18, 2012 8:00 AM by spectral

    Access violation on the CPU

    spectral

      Hi,

       

      I'm still facing a lot of crash with the AMD SDK and this time it looks really strange to me because it is a very simple case.

      I have a kernel that 'initialize' some structures and when I execute it, I receive an access violation.

       

      By example, on the host side the buffer address is : 0x000000000fad00a4 and contains 2048 'clTask' structure (when size(clTask) = 640 on both C++ and CL). So, there is no memory allocation problem, because the size of the buffer is correct.

       

      When I execute the kernel, I print some information :

      GID=[0] sizeof_clTask[640] address[000000000FAD00A4]

      GID=[1024] sizeof_clTask[640] address[000000000FB700A4]

       

      So, it looks correct... but I receive the following error message :

       

      Unhandled exception at 0x0c164d4f in spectralStudio.exe: 0xC0000005: Access violation reading location 0xffffffffffffffff.

       

      For information I run it on a Intel i7 and this kernel work with NVidia SDK and Intel SDK too.

      How can we collaborate to fix the problem ?

       

      Thanks