cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

tonn
Journeyman III

opencl on athlon tk55

Hello.

I have laptop with athlon x64 tk55 processor and gentoo ~amd64 system.

Here is /proc/cpuinfo content:

processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 15
model        : 104
model name    : AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55
stepping    : 1
cpu MHz        : 1800.000
cache size    : 256 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 1
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips    : 3590.47
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

processor    : 1
vendor_id    : AuthenticAMD
cpu family    : 15
model        : 104
model name    : AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55
stepping    : 1
cpu MHz        : 1800.000
cache size    : 256 KB
physical id    : 0
siblings    : 2
core id        : 1
cpu cores    : 2
apicid        : 1
initial apicid    : 1
fpu        : yes
fpu_exception    : yes
cpuid level    : 1
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips    : 3590.47
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps



You can see - sse3 (aka pni) supported, but all opencl samples from atistreamsdk-2.1 not working and

    // Plaform info
    VECTOR_CLASS platforms;
    err = cl::Platform::get(&platforms);

return empty list.

What i doing wrong?

0 Likes
5 Replies
omkaranathan
Adept I

Did you do icd registraion properly?

0 Likes

Originally posted by: omkaranathan Did you do icd registraion properly?

 

what do you mean? what is "icd"?

0 Likes

 

You must register the OpenCL ICD manually in Linux to run samples and other applications successfully

To register the ICD, copy icd-registration.tgz to the root directory and enter:

tar xfz icd-registration.tgz

For more details, refer to 

KB article on ICD

and 

ATI Stream SDK Installation Notes

0 Likes

thanks...

now working CLInfo, HelloGL and Template

all other examples return:

Error: clCreateContextFromType failed. Error code : CL_DEVICE_NOT_FOUND


0 Likes

It looks like you don't have a gpu device (other examples default to run with the gpu device).  To run with a cpu device, run the samples with --device cpu

0 Likes