ERROR: clGetDeviceIDs() -1
#1
With this laptop:

Core i3, Ati Radeon Mobility HD 5470, Windows 7 64bit, latest catalyst and sdk

i have the following error:

ERROR: clGetDeviceIDs() -1

any solution????
#2
Why dost ye not searcheth before asketh?
Looketh here
#3
I have searched, but, in a laptop, the monitor is conncted!!!
#4
please tell me -exactly- which catalyst version and which stream sdk you have installed. latest are cat v10.8 and sdk v2.2. the ATI release notes say that the Mobility HD 5470 is supported which is a good sign. however, can you please paste the output of the CLInfo.exe program as well? it is part of the SDK installed here: ...\Documents\ATI Stream\samples\opencl\bin\x86\CLInfo.exe
#5
(09-03-2010, 09:38 AM)atom Wrote: please tell me -exactly- which catalyst version and which stream sdk you have installed. latest are cat v10.8 and sdk v2.2. the ATI release notes say that the Mobility HD 5470 is supported which is a good sign. however, can you please paste the output of the CLInfo.exe program as well? it is part of the SDK installed here: ...\Documents\ATI Stream\samples\opencl\bin\x86\CLInfo.exe

Catalyst: 10.8
SDK: 2.2
CLInfo.exe:
Code:
Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 1.1 ATI-Stream-v2.2 (302
)
Platform Name: ATI Stream
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_khr
_d3d10_sharing


Platform Name: ATI Stream
Number of devices: 1
Device Type: CL_DEVICE_TYPE_CPU
Device ID: 4098
Max compute units: 4
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 4
Preferred vector width double: 0
Max clock frequency: 2261Mhz
Address bits: 32
Max memory allocation: 536870912
Image support: No
Max size of kernel argument: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: No
Cache type: Read/Write
Cache line size: 64
Cache size: 32768
Global memory size: 1073741824
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Profiling timer resolution: 452
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue properties:
Out-of-Order: No
Profiling : Yes
Platform ID: 00E0D40C
Name: Intel(R) Core(TM) i3 CPU
M 350 @ 2.27GHz
Vendor: GenuineIntel
Driver version: 2.0
Profile: FULL_PROFILE
Version: OpenCL 1.1 ATI-Stream-v2.2 (302
)
Extensions: cl_amd_fp64 cl_khr_global_int32
_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomi
cs cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_s
haring cl_ext_device_fission cl_amd_device_attribute_query cl_amd_printf cl_khr_
d3d10_sharing


Passed!
#6
no idea then, sorry. maybe it has to do something with the binary kernels machinecode issue on some mobile devices ( http://forums.amd.com/devforum/messagevi...did=138232 ). but since i can not reproduce it i can not fix it. all we can do (as always) is to wait for a fixed opencl runtime.
#7
Right now, it depends on AMD to fix the issue.
But here's a workaround: roll back to 1.07b and sdk 2.1, for example, and use previous oclhc version.
#8
Ok tnx, i will try to roll back . . . . .