Homec4science

lib kokkos bugfix: on a CUDA host, the random state wasn't preserved.

Authored by Tim Mattox <timothy.mattox@engilitycorp.com> on Mar 1 2017, 17:46.

Description

lib kokkos bugfix: on a CUDA host, the random state wasn't preserved. Random_XorShift*_Pool<Kokkos::Cuda>::free_state() has two purposes: 1) update the state value kept in the pool 2) unlock the state For a CUDA host thread, ONLY skip step 2, not both.

Details

Committed
Tim Mattox <timothy.mattox@engilitycorp.com>Mar 1 2017, 17:46
Pushed
jungeOct 19 2017, 09:53
Parents
rLAMMPSbf1794f59a1a: Merge branch 'USER-DPD_kokkos' into USER-DPD_kokkos_ssa_debug
Branches
Unknown
Tags
Unknown

Event Timeline

Tim Mattox <timothy.mattox@engilitycorp.com> committed rLAMMPS6e26358ec3ea: lib kokkos bugfix: on a CUDA host, the random state wasn't preserved. (authored by Tim Mattox <timothy.mattox@engilitycorp.com>).Mar 1 2017, 17:46