Results 1 to 5 of 5

Thread: graphics card (GPU)distuinguish

  1. #1

    graphics card (GPU)distuinguish

    hello forum,
    if i am having two gpu say intel and nvidia (i have cpu of intel ,graphics inbuilt) if i am not doing anything for platform in opencl program and i am using paths of sdks ,(in my visual studio program) of NVIDIA then which gpu will be used by the program (intel graphics or nvidia).intel cpu graphics card's opencl sdk is also installed on my system but i am not using that path of sdk for my visual studio program (in which my opencl program is written)
    can u pls tell
    pls reply forum


  2. #2

    Re: graphics card (GPU)distuinguish

    The SDK you use when you compile your application doesn't affect which platforms and devices your application will see when it is run. All of the vendors use compatible headers and library files. So if you use the Intel SDK (for example) to build, and take that binary to an AMD-based machine, that application should see the AMD platform and devices.

    The OpenCL ICD (the DLL on Windows that you link against) should also work for multiple vendor platforms. So if you have an NVIDIA card in an Intel machine, your application should see mutiple OpenCL platforms, even if the application was compiled against the AMD SDK (for example). The application could then pick which device it wants to target.

    This all assumes the target machine has the proper drivers/redistributables installed for OpenCL, of course. And for integrated GPUs on Windows, there are scenarios that will prevent them from being used when a discrete GPU is also installed.

  3. #3

    Re: graphics card (GPU)distuinguish

    it means that if i am using sdk of any platform and it is not necessary that it should be of the same platform to run the opencl program, on which it is running......
    am i right?

  4. #4

    Re: graphics card (GPU)distuinguish

    That's correct. You still should test with different vendors implementations, but compiling and linking your host code can be done with any SDK.

  5. #5

    Re: graphics card (GPU)distuinguish

    thanks a lot....

Similar Threads

  1. What is an opengl graphics card?
    By hualian in forum OpenGL ES
    Replies: 1
    Last Post: 02-10-2013, 02:22 PM
  2. how to run on cpu graphics card
    By prince in forum OpenCL
    Replies: 12
    Last Post: 02-07-2013, 11:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean