PDCON:Conference/GPU audio signals processing in Pd, and PDCUDA, an implementation with the CUDA runtime API: Difference between revisions
Glozt100sob (talk | contribs) No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== | == Graphics Processing Unit audio signals processing in Pure Data, and PdCUDA an implementation with the CUDA runtime API== | ||
Author:Charles Henry | |||
An implementation named | An implementation named PdCUDA is presented for use of graphics processing unit (GPU) general programming capability for audio signals processing with [[Pure Data]] and the CUDA runtime application programmers interface (API). The goal of PdCUDA is to make uniformly efficient the development of CUDA based externals and their usage in Pd. In PDCUDA, the Pd source code is patched to enable the creation of CUDA digital signals processing (DSP) contexts, in which signal memory is allocated in GPU memory and DSP operations are performed by the GPU. This capability is made accessible to users in Pd's graphical patching environment by modifying the canvas class. PdCUDA adds a new canvas creation method for the symbol “cucanvas” which identifies that the underlying DSP context for that canvas uses CUDA. Memory transfer between host and GPU explicitly occurs between signals in a non-root canvas and its parent canvas. The Pd source code for DSP scheduling is reviewed for existing methods of optimizing memory access and avoiding latency. PdCUDA provides shared/static libraries of functions and a header file comprising an API for externals developers. | ||
=== See also === | |||
*[[Abbreviations]] |
Revision as of 12:37, 10 June 2011
Graphics Processing Unit audio signals processing in Pure Data, and PdCUDA an implementation with the CUDA runtime API
Author:Charles Henry
An implementation named PdCUDA is presented for use of graphics processing unit (GPU) general programming capability for audio signals processing with Pure Data and the CUDA runtime application programmers interface (API). The goal of PdCUDA is to make uniformly efficient the development of CUDA based externals and their usage in Pd. In PDCUDA, the Pd source code is patched to enable the creation of CUDA digital signals processing (DSP) contexts, in which signal memory is allocated in GPU memory and DSP operations are performed by the GPU. This capability is made accessible to users in Pd's graphical patching environment by modifying the canvas class. PdCUDA adds a new canvas creation method for the symbol “cucanvas” which identifies that the underlying DSP context for that canvas uses CUDA. Memory transfer between host and GPU explicitly occurs between signals in a non-root canvas and its parent canvas. The Pd source code for DSP scheduling is reviewed for existing methods of optimizing memory access and avoiding latency. PdCUDA provides shared/static libraries of functions and a header file comprising an API for externals developers.