Results 1 to 5 of 5

Thread: Question about the OpenCL Platform

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    23

    Question about the OpenCL Platform

    Is the OpenCL platform eventually going to be used to support multiple hosts? Because I had the platform error in my C++ program I wanted to farther research it and see just exactly what it is. The specification was pretty vague as to what it is being used for. Right now you will never really have more then one platform, is that correct? But I was thinking that it would be really cool to be able to pull in multiple hosts like in cluster computing and have access to all of the node's resources as well. Is this the goal?

    Grimm

  2. #2
    Senior Member
    Join Date
    Nov 2009
    Posts
    118

    Re: Question about the OpenCL Platform

    You'll have all the ICD compatible installed platforms on your computer.

    For example I installed, under linux, nVidia and AMD platforms. I have a GPU device with the nVidia platform and an intel CPU device with AMD's.

    You can get the platform list and the device list for each platform with OpenCL API.

  3. #3
    Junior Member
    Join Date
    Feb 2010
    Posts
    23

    Re: Question about the OpenCL Platform

    Ah, ok. So the platform is just a list of the OpenCL compatible device drivers that are installed on the system? Not as powerful as I was envisioning, but it's all good. Thanks,

    Grimm

  4. #4
    Senior Member
    Join Date
    Nov 2009
    Posts
    118

    Re: Question about the OpenCL Platform

    I guess the platform concept is a enough generic to be really powerful :

    A platform provide access to all devices it can get... so we can imagine a platform that try to query the network to find devices and, so, permits the user to enqueue command over the network.

    Often a platform is installed by a driver, but we can imagine a driver which install multiple platforms.

  5. #5
    Junior Member
    Join Date
    Feb 2010
    Posts
    23

    Re: Question about the OpenCL Platform

    Excellent! Thanks Matrem, that makes sense. Too bad my programming skills weren't better, although I'm sure someone will come up with something cool eventually.

    Grimm

Similar Threads

  1. Replies: 4
    Last Post: 07-25-2011, 01:23 PM
  2. Replies: 0
    Last Post: 04-28-2011, 07:25 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
  •