Homec4science

fix lambda syntax for CUDA

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

Description

fix lambda syntax for CUDA

KOKKOS_LAMBDA doesn't quite work on CUDA,
you have to use LAMMPS_LAMBDA.
Also, if you do use LAMMPS_LAMBDA, you need
to run on the default device type,
i.e. no using lambdas to run on OpenMP
when LAMMPS has been compiled for CUDA.

Details

Committed
Dan Ibanez <daibane@sandia.gov>Mar 6 2017, 22:58
Pushed
jungeOct 19 2017, 09:53
Parents
rLAMMPSa2c80d2cca94: Merge remote-tracking branch 'fork/cuda-compile' into cuda-runtime
Branches
Unknown
Tags
Unknown

Event Timeline

Dan Ibanez <daibane@sandia.gov> committed rLAMMPS4a6f27935d26: fix lambda syntax for CUDA (authored by Dan Ibanez <daibane@sandia.gov>).Mar 6 2017, 22:58