cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

uelkfr
Journeyman III

Windows XP SP3, ATI Stream SDK 2.2, samples

No GPU, Samples don't work on CPU

Hello

I have CPU Intel Celeron 336 with MMX, SSE, SSE2, SSE3, EM64T instruction. Windows XP SP3 x86. ATI Stream SDK 2.2. As I have read it must be sufficient for OpenCL to work.

"C:\Program Files\ATI Stream\bin\x86\CLInfo.exe" work fine (see attached code).

But "C\Program Files\ATI Stream\samples\opencl\bin\x86\HelloCL.exe" and other samples return an error:

stdout: HelloCL!
stdout: Getting Platform Information
stderr: Platform::get() failed (-1001)

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 Platform Name: ATI Stream Number of devices: 1 Device Type: CL_DEVICE_TYPE_CPU Device ID: 4098 Max compute units: 1 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: 2793Mhz 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: 16384 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: 279 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: 00A9D40C Name: Intel(R) Celeron(R) CPU 2.80GHz 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_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_printf Passed!

0 Likes
3 Replies
himanshu_gautam
Grandmaster

uelkfr,

Have you done custom installation or express intallation?

In default case the samples are stored in \\My Documents\ATI Stream\samples\opencl.

Have you done some changes to the sample?

 

 

0 Likes

Yes, I have done custom installation, not in new windows style, but in old win98 style

Only works following executables:

bin\x86\CLInfo.exe

samples\opencl\bin\x86\Template.exe

I haven't done any changes, I havent installed Microsoft Visual C++ 2010 Express yet

0 Likes

uelkfr,

I think you are not using the device selection parameter while running the samples.As such you do not have GPU and most samples run on GPU by default. Use --device CPU with the sample name while running in command line.

use --help for more info.

0 Likes