Homec4science

don't capture "this" in lambdas

Authored by Dan Ibanez <daibane@sandia.gov> on Mar 6 2017, 23:07.

Description

don't capture "this" in lambdas

CUDA lambdas can't capture the calling
object very well.
make local shallow copies of variables needed.

Details

Committed
Dan Ibanez <daibane@sandia.gov>Mar 6 2017, 23:07
Pushed
jungeOct 19 2017, 09:53
Parents
rLAMMPS4a6f27935d26: fix lambda syntax for CUDA
Branches
Unknown
Tags
Unknown

Event Timeline

Dan Ibanez <daibane@sandia.gov> committed rLAMMPSa7d1b571be0a: don't capture "this" in lambdas (authored by Dan Ibanez <daibane@sandia.gov>).Mar 6 2017, 23:07