#include <work_graph.h>
|
| static std::expected< WorkGraph, std::string > | Create (ID3D12Device5 *device, ID3D12RootSignature *globalRootSignature, std::span< const std::byte > library, std::wstring_view programName) |
| static void | DispatchFromCpu (ID3D12GraphicsCommandList10 *list, uint32_t entrypointIndex, const void *records, uint32_t recordCount, uint64_t recordStrideBytes) |
| static void | DispatchFromGpu (ID3D12GraphicsCommandList10 *list, D3D12_GPU_VIRTUAL_ADDRESS nodeGpuInput) |
Definition at line 23 of file work_graph.h.
◆ WorkGraph()
| bicameral::gpu::WorkGraph::WorkGraph |
( |
| ) |
|
|
privatedefault |
◆ BackingMemoryBytes()
| uint64_t bicameral::gpu::WorkGraph::BackingMemoryBytes |
( |
| ) |
const |
|
inlinenodiscard |
◆ Create()
| std::expected< WorkGraph, std::string > bicameral::gpu::WorkGraph::Create |
( |
ID3D12Device5 * | device, |
|
|
ID3D12RootSignature * | globalRootSignature, |
|
|
std::span< const std::byte > | library, |
|
|
std::wstring_view | programName ) |
|
staticnodiscard |
Definition at line 35 of file work_graph.cpp.
References bicameral::gpu::CreateBuffer(), bicameral::Info, bicameral::Log(), m_backingMemory, m_backingMemoryBytes, m_graphIndex, m_programIdentifier, m_properties, m_stateObject, bicameral::ToUtf8(), bicameral::gpu::UnorderedAccess, bicameral::WorkGraph, and WorkGraph().
Referenced by bicameral::sim::ProbeSim::CreateConductGraph(), bicameral::sim::GpuMultires::CreateConductionGraph(), bicameral::sim::GpuMultires::CreatePipelines(), and bicameral::sim::GpuPhysics::CreatePipelines().
◆ DispatchFromCpu()
| void bicameral::gpu::WorkGraph::DispatchFromCpu |
( |
ID3D12GraphicsCommandList10 * | list, |
|
|
uint32_t | entrypointIndex, |
|
|
const void * | records, |
|
|
uint32_t | recordCount, |
|
|
uint64_t | recordStrideBytes ) |
|
static |
◆ DispatchFromGpu()
| void bicameral::gpu::WorkGraph::DispatchFromGpu |
( |
ID3D12GraphicsCommandList10 * | list, |
|
|
D3D12_GPU_VIRTUAL_ADDRESS | nodeGpuInput ) |
|
static |
◆ EntrypointIndex()
| uint32_t bicameral::gpu::WorkGraph::EntrypointIndex |
( |
std::wstring_view | nodeName | ) |
const |
|
nodiscard |
◆ SetProgram()
| void bicameral::gpu::WorkGraph::SetProgram |
( |
ID3D12GraphicsCommandList10 * | list, |
|
|
bool | initialize ) const |
◆ m_backingMemory
| ComPtr<ID3D12Resource> bicameral::gpu::WorkGraph::m_backingMemory |
|
private |
◆ m_backingMemoryBytes
| uint64_t bicameral::gpu::WorkGraph::m_backingMemoryBytes = 0 |
|
private |
◆ m_graphIndex
| uint32_t bicameral::gpu::WorkGraph::m_graphIndex = 0 |
|
private |
◆ m_programIdentifier
| D3D12_PROGRAM_IDENTIFIER bicameral::gpu::WorkGraph::m_programIdentifier {} |
|
private |
◆ m_properties
| ComPtr<ID3D12WorkGraphProperties> bicameral::gpu::WorkGraph::m_properties |
|
private |
◆ m_stateObject
| ComPtr<ID3D12StateObject> bicameral::gpu::WorkGraph::m_stateObject |
|
private |
The documentation for this class was generated from the following files: