Hi Ivan, In OpenCL terms, platform is a programming API used to access devices (GPUs/CPUs). For example, you can have Intel, nVidia, or, as in your case, AMD APP platform. Radeon is a device and should be shown in the output cl.get_platforms()[0].get_devices(), along with your CPU.
On Mon, Dec 10, 2012 at 4:04 PM, Ivan Shmakov <[email protected]> wrote: > Is there anything special I should do for my Radeon HD 6450 to > enter the list returned by .get_platforms ()? > > $ python -c $'import pyopencl as cl\nfor p in cl.get_platforms (): print p' > <pyopencl.Platform 'AMD Accelerated Parallel Processing' at 0x7fb2e10ecce0> > $ > > The video card appears in the lspci(1) listing as: > > $ lspci > … > 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI > Caicos [Radeon HD 6450] > … > $ > > TIA. > > -- > FSF associate member #7257 > > > _______________________________________________ > PyOpenCL mailing list > [email protected] > http://lists.tiker.net/listinfo/pyopencl _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
