D3D12 Work Graphs released

    D3D12 Work Graphs released

    D3D12 Work Graphs released


    Posted: 11 Mar 2024

     DirectX Developer Blog:

    This is the official release of D3D12 Work Graphs, enabling new types of GPU autonomy, originally available as a preview in 2023.

    To start, here’s what Epic sees:

    With the proliferation of GPU-driven rendering techniques – such as Nanite in Unreal Engine 5 – the role of the CPU is trending towards primarily resource management and hazard tracking, with only a fraction of time spent generating GPU commands. Prior to D3D12 Work Graphs, it was difficult to perform fine-grained memory management on the GPU, which meant it was practically impossible to support algorithms with dynamic work expansion. Even simple long chains of sequential compute work could result in a significant synchronization and memory overhead.
    GPU-driven rendering was accomplished by the CPU having to guess what temporary allocations were needed by the GPU, often over-allocating to the worst case, and using previous frame readback for refinement. Any workloads with dynamic expansion either meant issuing worst case dispatches from the CPU, having the GPU early out of unnecessary work, or non-portable techniques were used, like persistent threads.
    With Work Graphs, complex pipelines that are highly variable in terms of overall “shape” can now run efficiently on the GPU, with the scheduler taking care of synchronization and data flow. This is especially important for producer-consumer pipelines, which are very common in rendering algorithms. The programming model also becomes significantly simpler for developers, as complex resource and barrier management code is moved from the application into the Work Graph runtime.
    We have been advocating for something like this for a number of years, and it is very exciting to finally see the release of Work Graphs.

    — Graham Wihlidal, Epic Games
    If you’re attending GDC 2024 there’s a few opportunities to get a deep dive on the most recent developments with Work Graphs:


    GPU vendor Work Graph blogs:

    Development links:

    The content below is similar to the 2023 preview blog, mostly a refresh. See Notable changes since 2023 preview below.



    Contents



     Read more:

    https://devblogs.microsoft.com/direc...2-work-graphs/
    Brink's Avatar Posted By: Brink
    11 Mar 2024


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:54.
Find Us




Windows 10 Forums