[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#675528: Bug#673992: python-pyopencl: explicitely requires installation of amd-libopencl1



2012/6/4 Tomasz Rybak <bogomips@post.pl>:
> I have done some testing and I also get segmentation fault on some
> OpenCL kernels. I haven't got segfault on your sample program.
> I have been running PyOpenCL unit tests and:
> 1. test_clmath.py runs without any segfault
> 2. test_array.py runs without any segfault
> 3. test_wrapper.py segfaults in test_get_info (in cl.Image) and test_image2d (in
> cl.image_from_array).
>
> Initially I have suspected older amd-libopencl1 version (fglrx 12-4
> does not work with X.org 12), but problem remains after updating
> to 12-6-beta and rebuilding PyOpenCL. I have tested on 295.53
> on NVIDIA ION. It looks like in some cases (not all) NVIDIA OpenCL
> segfaults when run using AMD OpenCL management library.
>
> I have tested with ocl-icd, which it ITPd by Vincent Danjean,
> but there are some problems with compilation.
> I do not know yet how to solve it, but shall let you know
> when there is some solution.
>
> Regards.
>
> --
> Tomasz Rybak <bogomips@post.pl> GPG/PGP key ID: 2AD5 9860
> Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
> http://member.acm.org/~tomaszrybak
>

Thanks for your effort.

I also get segfault on this: http://documen.tician.de/pyopencl/

I have this:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF114
[GeForce GTX 560 Ti] [10de:1200] (rev a1) (prog-if 00 [VGA
controller])
        Subsystem: ZOTAC International (MCO) Ltd. Device [19da:1665]
        Flags: bus master, fast devsel, latency 0, IRQ 24
        Memory at fc000000 (32-bit, non-prefetchable) [size=32M]
        Memory at d0000000 (64-bit, prefetchable) [size=128M]
        Memory at d8000000 (64-bit, prefetchable) [size=64M]
        I/O ports at e000 [size=128]
        [virtual] Expansion ROM at fe000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia

If I understand the idea behind ocl-icd, this will be great once it's done.

Vedran



Reply to: