Questions tagged [cuda]

A parallel computing platform and programming model developed by NVIDIA. Uses the many cores of a GPGPU to achieve high computational performance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
990 views

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

I'm meaning GLSL and CUDA both utilize GPU to their maximum power and in some cases, I heard CUDA runs faster on Nvidia graphic card. So my question is why don't we use CUDA more often for GPU graphic ...
is code's user avatar
  • 11
0 votes
0 answers
73 views

Cuda API to render using Physically Based Rendering (PBR) in OpenGL-ES based project

I need to develop a OpenGL-ES based application to render a model using Physically based Rendering (PBR). Do I need to use Cuda API to render the computation intense PBR rendering? Is there any ...
Arun AC's user avatar
  • 115
0 votes
0 answers
272 views

Texture dimensions guidelines

I have 3 related questions: What are the main optimizations related to power of 2 dimensions for 1D/2D/3D textures? This question gives some answers like mipmapping, but are not well explained and ...
Matias Haeussler's user avatar
2 votes
1 answer
638 views

How can I write a D3D12 texture in cuda?

One point about such pipeline is that everything happens in GPU and bypass the CPU. The texture is created as such: ...
Soleil's user avatar
  • 180
1 vote
1 answer
66 views

What is the difference between cudaExternalMemoryHandleTypeD3D12Resource and cudaExternalMemoryHandleTypeD3D12Heap?

When we import a D3D12 memory object into cuda we do something like this: ...
Soleil's user avatar
  • 180
0 votes
1 answer
169 views

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

I am planning on porting some of my CPU code to GPU. I want my code to run on all GPUs, so openCL seems to be the right choice. Will I be able to achieve the same performance as of CUDA in openCL?. ...
Pravinkumar's user avatar
6 votes
2 answers
16k views

What's the difference between CUDA and Shader?

I am new to CUDA, and it seems that CUDA and Shader are both GPU programs. When we talk about GPU programming in rendering, like GPU voxelization, are we talking about CUDA or just converting data to ...
HUAQ's user avatar
  • 125
2 votes
1 answer
217 views

Non-real time simulation of overlapping repulsive balls

I want to make a non-real time simulation of overlapping repulsive balls, initially in 2D and later in 3D. With "non-real" I mean that rendering is not needed after each time step. First of all, ...
Shibli's user avatar
  • 121
6 votes
3 answers
3k views

How to pass rendered frames from OpenGL to DirectX 11?

I have a dll that does some rendering using OpenGL. I need to render it to a texture and use that texture in direct x 11. My current attempt has been to render the OpenGL to a texture on one process,...
default's user avatar
  • 747
0 votes
2 answers
155 views

Poor CUDA performance, raytracing

I use CUDA 7.5 to learn the basics of raytracing. So far I've done nothing but constant color no-lighting spheres-only raytracing. But my delta time is already 14 - 16 ms for 800x600 resolution - 1 ...
Russoul's user avatar
  • 282
4 votes
1 answer
779 views

Nvidia Nsight 4.6 VS Edition. The Graphics debugger can't find glew32.dll

I'm trying to debug some textures and FBO's with Nvidia Nsight 4.6 VS Edition. But when I select either "Start CUDA debugging" or "Start graphics debugging" I get an error. "The program can't start ...
Edvin's user avatar
  • 161
1 vote
3 answers
1k views

Grab depth buffer with unlockable D3DFORMAT

I'm currently piggy backing on a mod framework (Multitheft Auto) and trying to read the depth buffer in D3DFMT_D24S8 (DirectX9). I can read it if I change the format to D3DFMT_D32F_LOCKABLE and then ...
aiguy2's user avatar
  • 11
1 vote
2 answers
2k views

Hundreds or even thousands of "slow" running CPUs emulated on GPU?

Introduction This question is specific to GPU programming. It's not primarily about the game idea. However, to better understand the question i will detail what it is i want to achieve in my game. ...
Cadde's user avatar
  • 129
4 votes
1 answer
1k views

GPGPU physics & game logic

I'm wondering about gpu accelarated physics after reading about Erwin Coumans presentation on GPU accelerated physics: http://www.gdcvault.com/play/1018185/GPU-Rigid-Body-Rigid-Body (demo video here: ...
Martijnh's user avatar
  • 178
5 votes
1 answer
389 views

How to pass depth buffer from OGRE to CUDA?

I am using OGRE for rendering some objects. At every frame, I would like to pass the resulting depth buffer to CUDA for running some kernels on it and computing a result. How can I achieve this? How ...
Ashwin Nanjappa's user avatar
5 votes
2 answers
8k views

How to display an image stored in GPU video memory

My platform is Windows PC and C++. I am using an image buffer in GPU video memory via CUDA. Is there any way to directly send the content to GPU for display? Currently, I am getting the content into ...
Tae-Sung Shin's user avatar
0 votes
2 answers
433 views

CUDA 4.1 Update

I'm currently working on porting a particle system to update on the GPU via the use of CUDA. With CUDA, I've already passed over the required data I need to the GPU and allocated and copied the date ...
N0xus's user avatar
  • 1,001
4 votes
3 answers
874 views

CUDA 4.1 Particle Update

I'm using CUDA 4.1 to parse in the update of my Particle system that I've made with DirectX 10. So far, my update method for the particle systems is 1 line of code within a for loop that makes each ...
N0xus's user avatar
  • 1,001