I have two GPUs, one is AMD (fglrx-updates) and one nVidia (nvidia-current), drivers from x-swat PPA. The AMD card is used byt xorg (without problems). Both devices show up in
01:00.0 VGA compatible controller: ATI Technologies Inc Device 6718 02:00.0 VGA compatible controller: nVidia Corporation Device 1200 (rev a1)
The nvidia kernel module is loaded (
[ 16.033488] nvidia 0000:02:00.0: enabling device (0000 -> 0003) [ 16.033501] nvidia 0000:02:00.0: PCI INT A -> GSI 40 (level, low) -> IRQ 40 [ 16.033507] nvidia 0000:02:00.0: setting latency timer to 64
The device is detected, platform
NVIDIA CUDA, device
GeForce GTX 560 Ti. However, no code gets compiled for the device,
clBuildProgram always returns
CL_BUILD_RPOGRAM_FAILURE and querying
clGetProgramBuildInfo crashes with uninformative backtrace
#0 0x00007ffff7442bef in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff22c0e67 in ?? () from /usr/lib/nvidia-current/libcuda.so
The program is build with
cl.h from Intel's SDK; that is OK since everything was fine until I installed the AMD card alongside.
/usr/share/doc/python-pyopencl/examples/benchmark.py crashes just the same (in
Any hint on what is wrong?