MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / setGraph

Method setGraph

Src/Base/AMReX_CudaGraph.H:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 m_parms_d = static_cast<T*>( The_Arena()->alloc(sizeof(T)*m_parms.size()) );
78 }
79 void setGraph(cudaGraphExec_t const& graph) {
80 m_graph = graph;
81 graph_is_ready = true;
82 }
83 void setParams(int idx, T const& a_parm) { m_parms[idx] = a_parm; }
84
85 T* getHostPtr (int idx) { return (m_parms.data() + idx); }

Calls

no outgoing calls

Tested by

no test coverage detected