Results 1 to 7 of 7

Thread: platform differentiation

  1. #1

    platform differentiation

    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 sdks in my visual studio platform of NVIDIA then which gpu will be used by the program (intel graphics or nvidia).

    thanks

  2. #2
    Junior Member
    Join Date
    Mar 2013
    Posts
    1

    Re: platform differentiation

    Quote Originally Posted by prince
    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 sdks in my visual studio platform of NVIDIA then which gpu will be used by the program (intel graphics or nvidia).

    thanks
    If I'm not mistaken you have to specify the platform you want to use. If you pass NULL to clGetDeviceID you'll get an invalid platform error. If you choose nvidia the nvidia gpu will be used.

  3. #3

    Re: platform differentiation

    i was asking which one will be default..........intel or NVIDIA
    anybody knows that

  4. #4

    Re: platform differentiation

    pls answer forum
    thanks

  5. #5
    Senior Member
    Join Date
    Oct 2012
    Posts
    165

    Re: platform differentiation

    you cant say that in common. test the vendor string to see, which will be the platform with id = 0.

  6. #6

    Re: platform differentiation

    please answer with function name so that i can understand clearly

  7. #7
    Senior Member
    Join Date
    Oct 2012
    Posts
    165

    Re: platform differentiation

    if you use clGetPlatformInfo you can get the Vendor of your card

Similar Threads

  1. Multi Platform Contexts
    By SteveYoungs in forum OpenCL
    Replies: 3
    Last Post: 06-07-2011, 07:08 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
  •