MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / add_command_group

Method add_command_group

src/runtime/dag_builder.cpp:214–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214dag_node_ptr
215dag_builder::add_command_group(std::unique_ptr<operation> op,
216 const requirements_list &requirements,
217 const execution_hints &hints)
218{
219 assert(op);
220
221 std::lock_guard<std::mutex> lock{_mutex};
222
223 auto node = this->build_node(std::move(op), requirements, hints);
224 _current_dag.add_command_group(node);
225
226 return node;
227}
228
229
230dag_node_ptr dag_builder::add_explicit_mem_requirement(

Callers

nothing calls this directly

Calls 2

build_nodeMethod · 0.95
moveFunction · 0.50

Tested by

no test coverage detected