| 1269 | } |
| 1270 | |
| 1271 | hipError_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 | |
| 1281 | hipError_t hipStreamEndCapture_spt(hipStream_t stream, hipGraph_t* pGraph) { |
| 1282 | HIP_INIT_API(hipStreamEndCapture, stream, pGraph); |
no test coverage detected