I downloaded AMD APP SDK 2.8 for win7 64bit(AMD-APP-SDK-v2.8-Windows-64.exe), and the 9.003 driver for a FirePro W7000 card from AMD website.
When I run the samples from AMD APP SDK using VS 2010, for instance, sample "BoxFIlter", I see "Access Violation message at line #220 in "SDKApplication.cpp" where clGetPlatformIDs is called.
The code is copied here:
cl_int status = CL_SUCCESS;
cl_uint numPlatforms=1;
cl_platform_id platform = NULL;
status = clGetPlatformIDs(0, NULL, &numPlatforms); // Access violation here!!!
The message says:
"First-chance exception at 0x00000000 in BoxFilter.exe: 0xC0000005: Access violation.
Unhandled exception at 0x00000000 in BoxFilter.exe: 0xC0000005: Access violation.
The program '[7040] BoxFilter.exe: Native' has exited with code -1073741819 (0xc0000005)."
This happens to other samples as well. I checked the installation, environmental variables, and the driver version. Everything looks good to me. Has anyone seen this before? What could be the problem that causes it?
Thanks!