Results 1 to 2 of 2

Thread: Multi-vendor OpenCL support in a single EXE?

  1. #1

    Multi-vendor OpenCL support in a single EXE?

    (This is probably a stupid question...)

    In theory, an OpenCL app should run on any OpenCL-enabled platform (just like OpenGL, or any other Khronos standard API). Practically speaking, is that actually the case right now?

    If I'm developing an OpenCL application, I need to link my application against an OpenCL runtime library. This library is part of the OpenCL SDK. Currently, every hardware vendor (AMD, NVIDIA, Intel, etc.) is providing their own OpenCL SDKs. So, let's say my development system has an AMD GPU. if I link my application against the AMD OpenCL library at build time, will it only run on if the end user has AMD hardware as well (assuming they have appropriate driver support for OpenCL)? Or do I need to build and distribute different EXEs for each target hardware platform?

    I know, I should be able to test this myself very easily, but all the systems I have immediate access to has more or less the same hardware configuration

  2. #2
    Senior Member
    Join Date
    May 2010
    Toronto, Canada

    Re: Multi-vendor OpenCL support in a single EXE?

    Both Nvidia and ATI distribute the OpenCL ICD in their SDKs AFAIK. This page from AMD explains it nicely. It was also discussed earlier in this forum.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

Similar Threads

  1. Support of Multi-dimensional arrays
    By Sheliak in forum OpenCL
    Replies: 1
    Last Post: 10-19-2011, 04:16 PM
  2. Multi instancing support in OpenGL-ES
    By himanshu18july in forum OpenGL ES
    Replies: 0
    Last Post: 06-10-2009, 05:24 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
Proudly hosted by Digital Ocean