Commit 8d076753 authored by Alain O' Miniussi's avatar Alain O' Miniussi
Browse files

Set device memory in device

refs #597
parent e9fca972
......@@ -98,7 +98,7 @@ namespace fargOCA {
int const nrMax = grid.managedRadiusMax();
kk::View<HillForce*> vf("local Hill contribs", nrMax-nrMin);
for(int i= 0; i < vf.stride(0); ++i) { vf(i) = HillForce(); }
kk::deep_copy(vf, HillForce());
real nan = std::numeric_limits<real>::quiet_NaN();
int const ns = grid.nbSector();
int const ni = grid.nbLayer();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment