Questions tagged [gpgpu]

For questions related to the usage of graphics processing units for computation outside of the traditional graphics pipeline but still somewhat related to computer graphics.

Common APIs for GPGPU include CUDA, OpenCL, and compute shaders (e.g., via DirectX, OpenGL, and Vulkan).

23 questions
7
votes
2 answers

GPU branching if without else

It's common knowledge that branching in a GPU program is costly because it may have to run both the if and else logic for every pixel being evaluated in the same wave, but only applying each result to the appropriate pixels. I was curious if…
Alan Wolfe
  • 7,801
  • 3
  • 30
  • 76
2
votes
0 answers

Optimization Strategies for FFT sound transformations using GPGPU

I want to run audio FFT transformations on a GPU using, possibly, OpenCL. What are the best optimization strategies for: converting audio signals to FFT; transfer them to the graphics card; compute those return the FFT into audio signal domain if…
tmm88
  • 21
  • 3