Skip to content

Commit 2e90185

Browse files
Update Docs/sphinx_documentation/source/GPU.rst
Co-authored-by: Alexander Sinn <[email protected]>
1 parent ca3b841 commit 2e90185

File tree

1 file changed

+1
-1
lines changed
  • Docs/sphinx_documentation/source

1 file changed

+1
-1
lines changed

Docs/sphinx_documentation/source/GPU.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ including AMReX's native kernel launching mechanisms as well OpenMP and OpenACC.
16071607
amrex::ParallelFor( np,
16081608
[=] AMREX_GPU_DEVICE (const int ip) noexcept
16091609
{
1610-
ptd[i].make_invalid();
1610+
ptd.id(i).make_invalid();
16111611
});
16121612
}
16131613

0 commit comments

Comments
 (0)