Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8873917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:35:19+00:00 2026-06-14T18:35:19+00:00

In my computer with Windows 7 OS I have three versions of OpenCL SDKS’s

  • 0

In my computer with Windows 7 OS I have three versions of OpenCL SDKS’s from this vendors:

  • Intel
  • NVIDIA
  • AMD.

I build my application with each of them.
As the output I have three different binaries.
For example: my_app_intel_x86, my_app_amd_x86, my_app_nvidia_x86

This binaries are different on this:

  1. They use different SDK’s in likange process
  2. They try to find different OpenCL platform name in runtime

Can I use only one SDK and check platform on running time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:35:21+00:00Added an answer on June 14, 2026 at 6:35 pm

    SDK’s give debuggings tools, a platform, and possibly extensions, the OpenCL API remains the same regardless. You can link to any SDK you want, and it’ll produce an executable compatible with any OpenCL runtimes you can find. Remember those are SDK’s, meant for the developer – the end-user will probably only have his graphics driver (OpenCL-enabled) which doesn’t care what SDK you used to build the software.

    Ideally you should use a default platform for your program, but let the user override it (you can select various platforms at runtime!). You can also use heuristics to figure out which device is the fastest, e.g.:

    • iterate over each available platform
    • for each platform, iterate over each device
    • benchmark this device somehow in a relevant way
    • select the fastest one

    Also, if you are using specific extensions, make sure to only accept devices which support them…

    Can I use only one SDK and check platform on running time?

    Yes, you absolutely can and should do that, but I am worried about what you mean by “check platform” – as I stated above, the SDK bears absolutely no influence on the platforms you can run your built program on. I can build my code with the AMD SDK, and run the executable on a system with an nVidia graphics card or an Intel processor just fine (the only difference is that I may not have access to AMD-specific extensions which will be provided by my SDK, but the extensions will be recognized by an AMD driver, so you don’t even need the SDK installed to run the code – but you will to build it though).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several programs I want to uninstall from my computer (Windows 7 64bit).
I've have a list of 10 windows services in an array from computer A
I have upgraded my computer from Windows XP to Windows 8 and opted to
I have a Windows 7 computer. I heard that Window's executables use the PE
I have HTML tidy extension on my home computer using PHP 5.2.11 (Windows -
On my work computer, I have Windows 7 x64 with JDK 1.7 installed. I
My computer have so many msvcp80.dll in different directory. and there are different versions:
I recently upgraded my computer from XP to Windows Seven. I was using IIS
I have working kernel debug setup on old host computer with Windows Xp. On
We have a single computer with Windows7 Home Premium running with SQL Server 2008

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.