Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NGSolve/ngsolve
/ D2H
Method
D2H
ngscuda/cuda_ngstd.hpp:182–185 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
180
}
181
182
void D2H (FlatArray<T> a2) const
183
{
184
cudaMemcpy (&a2[0], dev_data, sizeof(T)*size, cudaMemcpyDeviceToHost);
185
}
186
187
INLINE int Size() const { return size; }
188
Callers
1
AsArray
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected