I am having an issue when running OpenCL program on Linux. Program always fail at very beginning getting the platform information through clGetPlatformIDs function. And here is the dsmeg:
nvidia 0000:02:00.0: irq 111 for MSI/MSI-X
NVRM: RmInitAdapter failed! (0x25:0x1c:1379)
NVRM: rm_init_adapter failed for device bearing minor number 0
NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
And the system could not even get GPU information:
Model: Tesla K40m
IRQ: 111
GPU UUID: GPU-???-???-???-???-???
Video BIOS: ??.??.??.??.??
Bus Type: PCIe
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:02:00.0
It is a Tesla K40m and I did install the latest drive NVIDIA-Linux-x86_64-352.79.run.
Any help will be appreciated!