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

Method register_buffer

src/utils/impl_task_graph.cpp:868–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866 /// =============================================
867
868 auto TaskGraph::register_buffer(ExternalTaskBuffer const & buffer) -> TaskBufferView
869 {
870 auto & impl = *reinterpret_cast<ImplTaskGraph *>(this->object);
871 register_external_buffer_helper(impl, TaskResourceKind::BUFFER, buffer.get());
872
873 return {static_cast<u32>(impl.resources.size() - 1u), impl.unique_index};
874 }
875
876 auto TaskGraph::register_blas(ExternalTaskBlas const & blas) -> TaskBlasView
877 {

Callers 15

alignmentFunction · 0.80
record_tasksMethod · 0.80
concurrent_read_on_readFunction · 0.80
particle_set_positionFunction · 0.80
record_input_task_graphFunction · 0.80
record_sim_task_graphFunction · 0.80

Calls 3

getMethod · 0.45
sizeMethod · 0.45