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

  • Home
  • SEARCH
  • 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 3405644
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:31:51+00:00 2026-05-18T05:31:51+00:00

I have no knowledge of GPU programming concepts and APIs. I have a few

  • 0

I have no knowledge of GPU programming concepts and APIs. I have a few questions:

  1. Is it possible to write a piece of managed C# code and compile/translate it to some kind of module, which can be executed on the GPU? Or am I doomed to have two implementations, one for managed on the CPU and one for the GPU (I understand that there will be restrictions on what can be executed on the GPU)?
  2. Does there exist a decent and mature API to program independently against various GPU hardware vendors (i.e. a common API)?
  3. Are there any best practices if one wants to develop applications that run on a CPU, written in managed language, and also provide speed optimizations if suitable GPU hardware is present?

I would also be glad for links to any kind of documentation with appropriate learning resources.

Best,
Jozef

  • 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-05-18T05:31:52+00:00Added an answer on May 18, 2026 at 5:31 am

    1) No – not for the general case of C# – obviously anything can be created for some subset of the language

    2) Yes – HLSL using Direct X or Open GL

    3) Not generally possible – CPU and GPU coding are fundamentally different

    Basically you can’t think of CPU and GPU coding as being comparable. A GPU is a highly specialised parallel processing tool – for lots of parallel simple calculations.

    Trying to write a general progam in a GPU with lots of branches etc just won’t be efficient – maybe not even possible.

    Their memory access architectures are totally different.

    You should write for the CPU but farm out appropriate parallel computations to the GPU.

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

Sidebar

Related Questions

I have only a basic knowledge of css, is it possible to inherit a
I am a complete, total beginner in programming, although I do have knowledge of
I have little knowledge of Flash but for a little Flash game I have
I have limited knowledge of Java-based technologies, and for business enforced reasons, I may
I have good knowledge on C++ (not C) and recently bought a Symbian-based phone.
I have good knowledge on the working of a traditional .dll . Also the
After being troubled by an issue that I simply did not have the knowledge
I just started to read about this new technology... Does someone have some knowledge
We have developers with knowledge of these languages - Ruby , Python, .Net or
I honestly have only started recently researching this so my knowledge is limited. I

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.