3 Replies Latest reply on Jul 3, 2013 5:11 AM by himanshu.gautam

    Unnecessary OpenCL error spew on systems without AMD GPUs

    inducer77

      Hi there,

       

      when I use the AMD OpenCL ICD on a system that does not have an AMD GPU (or does not yet have the fglrx module loaded and X11 set up), I get the following error:

       

      Setting of real/effective user Id to 0/0 failed
      FATAL: Module fglrx not found.
      Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly
      

       

      In my opinion, this is unnecessary noise, and I would like to request that the message be removed. As an example of the harm caused by this, I have taught a class in which OpenCL played a role, and I had to remember to disable the AMD ICD just to avoid the output of my program to be visually crowded out by this message. This appears to be printed on the first call to clGetPlatformIDs.

       

      Thanks,

      Andreas