Move typedef unused for GPUs inside directive to prevent compiler warning

This commit is contained in:
Stan Moore
2025-01-30 15:25:05 -08:00
parent 2099dabb49
commit 9bb56d10b3

View File

@ -56,10 +56,10 @@ class RandPoolWrap : protected Pointers {
RandWrap rand_wrap;
#ifndef LMP_KOKKOS_GPU
typedef Kokkos::Experimental::UniqueToken<
LMPHostType, Kokkos::Experimental::UniqueTokenScope::Global> unique_token_type;
#ifndef LMP_KOKKOS_GPU
unique_token_type unique_token;
int tid = (int) unique_token.acquire();
rand_wrap.rng = random_thr[tid];