Results 1 to 4 of 4

Thread: how to differentiate between two GPU

  1. #1

    how to differentiate between two GPU

    if i have two GPU say intel and Nvidia in my system, how can i know which GPU i am using and how i can select particular GPU for use in openCL.
    thanks

  2. #2
    Junior Member
    Join Date
    Jan 2011
    Posts
    29

    Re: how to differentiate between two GPU

    clGetDeviceInfo

  3. #3

    Re: how to differentiate between two GPU

    ok if i have to use any particular GPU say NVIDIA, from AMD and NVIDIA from the system then what function i can use......

  4. #4

    Re: how to differentiate between two GPU

    There is no magic function. You have to loop through each OpenCL platform and check the name or vendor strings for some identifying trademark, e.g. AMD, Nvidia, Intel. Thereafter, you have to request all devices of the specific type that you are interested in - CPUs, GPUs or accelerator cards. If you want a specific device, for example the one with the greatest number of cores multiplied by clock frequency, then you're code must loop through all devices on your chosen platform until it finds the device that meets your requirements.

Similar Threads

  1. Copying data from GPU to another GPU
    By g4Rneck in forum OpenCL
    Replies: 1
    Last Post: 07-28-2011, 03:35 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
  •