I am using a OpenCL sdk download from
and use a 195.xx driver on Windows Vista. i.e. I am not using the base driver 190.xx in the above link.
I can run the sample from SDK browers, which seems running the pre-built binaries installed with the SDK.
Then I am trying to build sample from VS sln. after successfully building the sample code, an error happened when running self built binaries of sample. it pops up an error dialog with a message:
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
Why does this happen? How can I fix it?
if I am using 195.xx driver, which version of SDK I should use for OpenCL programming?