MCPcopy Create free account
hub / github.com/ROCm/clr / hipStreamEndCapture

Function hipStreamEndCapture

hipamd/src/hip_graph.cpp:1271–1279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1269}
1270
1271hipError_t hipStreamEndCapture(hipStream_t stream, hipGraph_t* pGraph) {
1272 HIP_INIT_API(hipStreamEndCapture, stream, pGraph);
1273 hip::Graph* graph;
1274 hipError_t status = hipStreamEndCapture_common(stream, &graph);
1275 if (pGraph != nullptr) {
1276 *pGraph = reinterpret_cast<hipGraph_t>(graph);
1277 }
1278 HIP_RETURN(status);
1279}
1280
1281hipError_t hipStreamEndCapture_spt(hipStream_t stream, hipGraph_t* pGraph) {
1282 HIP_INIT_API(hipStreamEndCapture, stream, pGraph);

Calls 1

Tested by

no test coverage detected