From 270abff2a2a1923fe1cd66de92a64caecf9579b3 Mon Sep 17 00:00:00 2001 From: Stan Moore Date: Wed, 23 Aug 2017 14:59:19 -0600 Subject: [PATCH] Fix compile error for CUDA in pair_exp6_rx_kokkos --- src/KOKKOS/pair_exp6_rx_kokkos.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/KOKKOS/pair_exp6_rx_kokkos.cpp b/src/KOKKOS/pair_exp6_rx_kokkos.cpp index 1eb1c6c770..46e06ca200 100644 --- a/src/KOKKOS/pair_exp6_rx_kokkos.cpp +++ b/src/KOKKOS/pair_exp6_rx_kokkos.cpp @@ -2112,6 +2112,7 @@ void partition_range( const int begin, const int end, int &thread_begin, int &th /* ---------------------------------------------------------------------- */ +#ifndef KOKKOS_HAVE_CUDA template template void PairExp6rxKokkos::getMixingWeightsVect(const int np_total, int errorFlag, @@ -2460,6 +2461,7 @@ void PairExp6rxKokkos::getMixingWeightsVect(const int np_total, int if (errorFlag2 > 0) errorFlag = 2; } +#endif /* ---------------------------------------------------------------------- */