3 Replies Latest reply on Nov 6, 2015 4:59 AM by dipak

    CLInfo fails to create context with error code -2

    travis182hun

      Hello,

       

      I'm new in OpenCL, and I need some help. (To learn the basics of OpenCL I read OpenCL in Action by Matthew Scarpino)

      My main problem is that I have a fully "AMD-driven" PC (CPU: AMD Phenom II X4 955 @ 3.2 GHz, VGA: R7 370), but when I want to list all the OpenCL platforms and devices with CLInfo command, I get the following output:

      (sorry for the image, copy-pasting the output here broke the alignment of text)

      clinfo.png

       

      As you can see, I have two platforms: an Intel and an AMD platform. The Intel platform is a CPU-type device (according to the list) though I don't have any Intel device in my PC. Another important notice: the Max. clock frequency is 0MHz...

      The OpenCL cannot create context for this device and the listing fails here and I don't know anything about the second device.

      The best would be to be able to get rid of this "ghost" Intel platform, but I would be glad if at least I wouldn't get this clCreateContext error.

       

      I searched throughout my file system for any Intel-specific SDK or something like that but I've only found the Intel Media SDK (I don't know about this SDK, I haven't installed it. Maybe it is part of the Windows SDK? I don't know...). It may be this SDK that's being listed by CLInfo? If it is, then do you have any idea how to get rid of it?

       

      Do you have any idea how to solve this issue?

       

      Thank you in advance!