Graphics Programming Conference (Banner)
GPU Work Graphs

Pre-build binaries

Besides a computer, you need:

To run the sample directly, you’ll also need a GPU and driver with D3D12 Work Graphs 1.0 support.
You can learn more about D3D12 Work Graphs 1.0 and driver availability on Microsoft’s blog post or on our own blog post on GPUOpen.com.
Don’t worry if your GPU does not support Work Graphs – just follow the instructions on how to install the DirectX WARP adapter instead.

Download the latest release from GitHub and extract the zip file.

Start the WorkGraphPlayground.exe, complete Tutorial-0 and you’re all set for for the masterclass!

You should see the following window:

If you see an error message that no compatible GPU was found, follow the instructions below.

If you prefer building the sample yourself, follow the instructions below.

Running on GPUs without Work Graphs support

If your GPU does not support Work Graphs, you can download and install the DirectX WARP adapter as follows:

  1. Download the Microsoft.Direct3D.WARP 1.0.13 NuGet package.

    BY INSTALLING THE THIRD PARTY SOFTWARE, YOU AGREE TO BE BOUND BY THE LICENSE AGREEMENT(S) APPLICABLE TO SUCH SOFTWARE and you agree to carefully review and abide by the terms and conditions of all license(s) that govern such software.

  2. Change the file extension to .zip, such that the full filename is microsoft.direct3d.warp.1.0.13.zip
  3. Open or extract the zip file and locate the d3d10warp.dll in build/native/bin/x64 and copy it next to the WorkGraphPlayground.exe

If you’re building the application from source, the steps above are automated by the CMake build script.

Build from Source

Prerequisites

Building and running

Clone the repository, including ImGui submodule:

				
					git clone https://github.com/GPUOpen-LibrariesAndSDKs/WorkGraphPlayground.git --recurse-submodules
				
			

Configuring with CMake:

				
					cmake -B build .
				
			

This command will download the following NuGet packages:

In order to use this software, you may need to have certain third party software installed on your system. Whether you install this software directly or whether a script is provided that, when executed by you, automatically fetches and installs software onto your system BY INSTALLING THE THIRD PARTY SOFTWARE, YOU AGREE TO BE BOUND BY THE LICENSE AGREEMENT(S) APPLICABLE TO SUCH SOFTWARE and you agree to carefully review and abide by the terms and conditions of all license(s) that govern such software. You acknowledge and agree that AMD is not distributing to you any of such software and that you are solely responsible for the installation of such software on your system.

Opening VS Solution:

				
					cmake --open build
				
			

In Visual Studio, build and run the Work Graph Playground project.
Complete Tutorial-0 and you’re all set for for the masterclass!

Contact Us

Our team will be happy to hear from you if you have questions, suggestions or feedback for us. Drop us a line at agmgpc@buas.nl.