AnsweredAssumed Answered

AMD App SDK doesn't work on my computer

Question asked by sabinmaniac on Dec 6, 2012
Latest reply on Dec 7, 2012 by scharupa

Hello,

 

After some experience with NVIDIA opencl version I have decided to try AMD's version of the standard. After I have installed the latest driver ( Catalyst version 12.6 for ATI Radeon HD 3400 Series) and the SDK ( 2.8 ) , I tried to test if the samples are working. To my surprise the simplest one, HelloWorld.exe fails with an access violation exception.

 

'HelloWorld.exe': Loaded 'C:\Users\Vlad\Documents\AMD APP\samples\opencl\bin\debug\x86\HelloWorld.exe', Symbols loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Program Files (x86)\AMD APP\bin\x86\OpenCL.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Symbols loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'HelloWorld.exe': Loaded 'C:\Program Files (x86)\AMD APP\bin\x86\amdocl.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\dbghelp.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Exports loaded.
'HelloWorld.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Exports loaded.
First-chance exception at 0x00000000 in HelloWorld.exe: 0xC0000005: Access violation.
Unhandled exception at 0x00000000 in HelloWorld.exe: 0xC0000005: Access violation.

 

This error happens at  clGetPlatformIDs function call.

/*Step1: Getting platforms and choose an available one.*/
    cl_uint numPlatforms = NULL;//the NO. of platforms
    cl_platform_id platform = NULL;//the chosen platform
     cl_int    status = clGetPlatformIDs(0, &platform, &numPlatforms);<---here

 

Any hint on how to fix this will be highly appreciated.

Outcomes