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= sizeof_clTask address[000000000FAD00A4]
GID= sizeof_clTask 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 ?