Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: AMD OpenCL with Nivida GPU

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    AMD OpenCL with Nivida GPU

    Hello

    I have installed AMD SDK for OpenCL. My system has "NVIDIA GeForce 9200M GS" GPU and I have the latest driver installed for this GPU. I want to know should this GPU work with AMD implementation of OpenCL? Because I read somewhere that Nvidia OpenCL doesnt work with AMD GPU by AMD's OpenCL implementation works with Nividia GPU too because AMD manufactures both CPUs and GPUs.
    In my program, though when I try to find GPU device, it failes to return GPU...

  2. #2
    Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Re: AMD OpenCL with Nivida GPU

    AMD have two conformant implementations of OpenCL for their GPUs/APUs and for their CPUs. They don't have implementation for NVidia video cards. You can use AMD implementation for CPUs, which works on any CPU with SSE3 and which I think is best among others.

    Others are Intel implementation which works only Windows 7 and only Intel processors, Apple implementation which works only on MacOS X 10.7+. NVidia implementation only supports OpenCL 1.0 with little amount of KHR extensions, they monopolistically forcing you to use CUDA.

    Also note that only AMD implementation have very good redistributable to install with your application on clients machines.

  3. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Re: AMD OpenCL with Nivida GPU

    Also note that AMD implementation transparently merges with Visual Studio and gDEBugger allowing you running OpenCL kernel step by step which increases OpenCL learning curve and you don't have to use OpenCL's printf.

  4. #4
    Junior Member
    Join Date
    Jul 2011
    Location
    Arlington, MA
    Posts
    5

    Re: AMD OpenCL with Nivida GPU

    Quote Originally Posted by akhal
    Hello

    I have installed AMD SDK for OpenCL. My system has "NVIDIA GeForce 9200M GS" GPU and I have the latest driver installed for this GPU. I want to know should this GPU work with AMD implementation of OpenCL? Because I read somewhere that Nvidia OpenCL doesnt work with AMD GPU by AMD's OpenCL implementation works with Nividia GPU too because AMD manufactures both CPUs and GPUs.
    In my program, though when I try to find GPU device, it failes to return GPU...
    I have both NVIDIA and AMD cards installed in my system, and drivers for both devices installed. I can create a program that is linked to either NVIDIA's or AMD's OpenCL SDK and run code on both cards in the program. I think this is because most of the functionality for OpenCL is placed in the drivers for the devices, not in the layer that is linked in with the code. At first, some of the sample OpenCL code that I used failed to find devices too. But that was because the code passed NULL for platform ID into clGetDeviceIDs(). When it's NULL, the behavior is "implementation dependent" according to the spec. So, maybe that's one area where there is a difference in the two SDK's. Try getting the platform id's using clGetPlatformIDs() first, and see if that helps. --Ken

  5. #5
    Member
    Join Date
    Jul 2011
    Location
    Moscow, Russia
    Posts
    41

    Re: AMD OpenCL with Nivida GPU

    Quote Originally Posted by uelkfr
    Also note that AMD implementation transparently merges with Visual Studio and gDEBugger allowing you running OpenCL kernel step by step which increases OpenCL learning curve and you don't have to use OpenCL's printf.
    Did you manage to do it? It fails fo? me.
    Blog (in russian)

  6. #6
    Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Re: AMD OpenCL with Nivida GPU

    Quote Originally Posted by Maxim Milakov
    Quote Originally Posted by uelkfr
    Also note that AMD implementation transparently merges with Visual Studio and gDEBugger allowing you running OpenCL kernel step by step which increases OpenCL learning curve and you don't have to use OpenCL's printf.
    Did you manage to do it? It fails fo? me.
    What version gDEBugger you use 5.8 or 6.0? What video card and drivers do you have?

  7. #7
    Member
    Join Date
    Jul 2011
    Location
    Moscow, Russia
    Posts
    41

    Re: AMD OpenCL with Nivida GPU

    Quote Originally Posted by uelkfr
    Quote Originally Posted by Maxim Milakov
    Quote Originally Posted by uelkfr
    Also note that AMD implementation transparently merges with Visual Studio and gDEBugger allowing you running OpenCL kernel step by step which increases OpenCL learning curve and you don't have to use OpenCL's printf.
    Did you manage to do it? It fails fo? me.
    What version gDEBugger you use 5.8 or 6.0? What video card and drivers do you have?
    gDEBugger 6.0 with Catalyst 11.7 preview. AMD Cayman 6950. When I start VS2010 it says that it fails to local the gDEBugger package.

    Blog (in russian)

  8. #8
    Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Re: AMD OpenCL with Nivida GPU

    Visual Studio Service Pack installed? Other Plug-in installed, if yes try disabling them especially profiling and debugging ones, maybe Parallel Nsight.

  9. #9
    Member
    Join Date
    Jul 2011
    Location
    Moscow, Russia
    Posts
    41

    Re: AMD OpenCL with Nivida GPU

    Quote Originally Posted by uelkfr
    Visual Studio Service Pack installed? Other Plug-in installed, if yes try disabling them especially profiling and debugging ones, maybe Parallel Nsight.
    Yep, SP1 is installed.

    The only other plug-in installed is Parallel Nsight, BUT I experienced the problem long before I installed Parallel Nsight. But I will double-check the list of plug-ins.
    Blog (in russian)

  10. #10
    Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Re: AMD OpenCL with Nivida GPU

    From FAQ:
    7. What version of MS Visual Studio is supported?
    The AMD APP SDK v2.4 with OpenCL 1.1 supports Microsoft® Visual Studio 2008
    Professional Edition and Microsoft® Visual Studio 2010 Professional Edition.
    Maybe you have Express Edition?

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 11-19-2012, 12:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •