Ivan Shmakov <[email protected]> writes:

>       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.

A 'platform' contains multiple 'devices'. In the case of ATI HW, as long
as you're running from within an X11 session, the card should be part of
the AMD platform's device listing. ('p.get_devices()')

Andreas

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to