Jump to content

Draft:Compute pipeline

From Wikipedia, the free encyclopedia

The Compute pipeline in the DirectCompute API is a type of graphics pipeline used for dispatching and executing compute shaders. Compute pipelines are ran through compute command lists, which are restricted to recording only copy and compute commands. Compute shaders are used for general-purpose algorithms and computations, and is run through parallel procecessors on the GPU. This parallel execution model done by the compute pipeline is organized into a dispatch, thread groups, and threads. The dispatch is a 3-dimensional container of thread groups, and a thread group is a 3-dimenstional container of threads.[1][2] Thread groups are ran on the GPU in waves.[3]

This pipeline allows for workloads to be easily sent to the GPU without the need for restructuring all of a program's code.[4]

References

[edit]
  1. ^ Young, Eric (2010-09-20). "DirectCompute - Optimizations and Best Practices" (PDF). Retrieved 2024-02-14.
  2. ^ Kramer, Lou (2022-07-22). "Compute Shaders" (PDF). gpuopen. Retrieved 2024-03-11.
  3. ^ Lively, David; Gruen, Holger (2017-03-03). "Wave Programming in D3D12 and Vulkan" (PDF). gpuopen. Retrieved 2024-02-15.
  4. ^ Graham-Smith, Darien (September 2021). "The Return of GPU Computing". PCPro (323): 44–47. ISSN 1355-4603. Retrieved 2024-06-10 – via MasterFILE Complete.