MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / allocate_task_memory

Method allocate_task_memory

src/utils/impl_task_graph.cpp:1690–1696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1688 }
1689
1690 auto TaskGraph::allocate_task_memory(usize size, usize align) -> void *
1691 {
1692 auto & impl = *reinterpret_cast<ImplTaskGraph *>(this->object);
1693 auto task_memory = impl.task_memory.allocate(size, align);
1694 DAXA_DBG_ASSERT_TRUE_M(task_memory != nullptr, "TaskGraph ran out of task memory, please increase the task memory pool");
1695 return task_memory;
1696 }
1697
1698 void validate_attachment_stages(ImplTask & task, TaskStages stage, u32 attach_i, std::string_view attach_name)
1699 {

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected