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

Function CreateDevMatrix

ngscuda/cuda_linalg.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 /******************** DevMatrix ********************/
167
168 shared_ptr<BaseMatrix> CreateDevMatrix (BaseMatrix & mat)
169 {
170 if (auto res = mat.CreateDeviceMatrix())
171 return res;
172 else
173 throw Exception(string("matrix type not supported: ") + typeid(mat).name());
174 }
175
176
177 /******************** DevSparseMatrix ********************/

Callers 4

PYBIND11_MODULEFunction · 0.85
devsparsemat.pyFile · 0.85
jacobi.pyFile · 0.85
devdmatrix.pyFile · 0.85

Calls 1

CreateDeviceMatrixMethod · 0.45

Tested by

no test coverage detected