Skip to main content
4 votes
Accepted

How can I write a D3D12 texture in cuda?

When creating the resources, one can export and map the texture resource to a cuda surface, subsequently available for direct read and write. The export and map needs only to happen once. The key ...
Soleil's user avatar
  • 210
3 votes

Is OpenGL Shader a CUDA kernel?

No. OpenGL and CUDA are both frameworks providing APIs that give a standardized way to program GPUs to perform various tasks. I say "framework" and not just "API" because they ...
DMGregory's user avatar
  • 141k
3 votes

Why do we use GLSL(Shader) instead of CUDA?

The intuition that CUDA is objectively "better than" dedicated rendering APIs for common rendering workloads is not a good guide. These are not two competing software libraries that serve ...
DMGregory's user avatar
  • 141k
1 vote

Is it possible to achieve the same performance of CUDA on OpenCL?

It's performance vs. compatibility. CUDA only works on "CUDA enabled" graphics cards. That means CUDA code can be sure that certain hardware features are present and can get more out of the GPU. ...
Raphael Schmitz's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible