MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / Launch

Method Launch

ngscuda/cuda_core.hpp:150–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 void Launch()
151 {
152 if (!capture_ok || !instance) {
153 return;
154 }
155 auto err = cudaGraphLaunch(instance, ngs_cuda_stream);
156 if (err != cudaSuccess)
157 std::cerr << "[CudaGraph] cudaGraphLaunch FAILED: "
158 << cudaGetErrorString(err) << std::endl;
159 }
160
161 bool IsValid() const { return capture_ok && instance != nullptr; }
162 cudaGraph_t GetGraph() const { return graph; }

Callers 1

MultMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected