Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NGSolve/ngsolve
/ D2H
Method
D2H
ngscuda/cuda_ngstd.hpp:306–310 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
304
}
305
306
void D2H (FlatTable<T> & t2) const
307
{
308
int sizedata = t2.AsArray().Size();
309
cudaMemcpy (&t2[0][0], dev_data, sizeof(T)*sizedata, cudaMemcpyDeviceToHost);
310
}
311
312
operator FlatTable<Dev<T>> () const
313
{
Callers
nothing calls this directly
Calls
2
AsArray
Method · 0.80
Size
Method · 0.45
Tested by
no test coverage detected