Paolo88

error CL_INVALID_PLATFORM in clGetDeviceIds on Ubuntu 9.10

Discussion created by Paolo88 on Mar 23, 2010
Latest reply on Mar 24, 2010 by Fr4nz
On Ubuntu 9.10, the call clGetDeviceIDs returns the error CL_INVALID_PLATFORM when the platform should be valid

Hi to everyone,

I installed the OpenCL deb packages on ubuntu 9.10 and I compiled a simple OpenCL code (sum of two arrays... classic).

I'm working without any ATI card only on the CPU.

As the ATI requirements say, the only CPU requirement is x86 CPU with SSE3.x., so I should be able to work on one that supports SSE3.x

I'm actually working on a Pentium D 805 (2.66 Ghz) and, as wiki says, it does support SSe3.x ( http://en.wikipedia.org/wiki/Pentium_D#Smithfield ).

 

I know this computer is bad, but I use it only to try OpenCL on a different OS; normally I work on Snow Leopard on a MacBook.

 

Now, I would like to know why I have this error, if somebody knows.

Thanks in advance to everyone and sorry for my english but I'm italian ( :-) ).

Regards, Paolo

 

 

Outcomes