Update Kokkos library in LAMMPS to v3.3.0
This commit is contained in:
@ -78,7 +78,7 @@ struct test_vector_insert {
|
||||
// Looks like some std::vector implementations do not have the restriction
|
||||
// right on the overload taking three iterators, and thus the following call
|
||||
// will hit that overload and then fail to compile.
|
||||
#if defined(KOKKOS_COMPILER_INTEL) && (1700 > KOKKOS_COMPILER_INTEL)
|
||||
#if defined(KOKKOS_COMPILER_INTEL)
|
||||
// And at least GCC 4.8.4 doesn't implement vector insert correct for C++11
|
||||
// Return type is void ...
|
||||
#if (__GNUC__ < 5)
|
||||
@ -104,7 +104,7 @@ struct test_vector_insert {
|
||||
// Looks like some std::vector implementations do not have the restriction
|
||||
// right on the overload taking three iterators, and thus the following call
|
||||
// will hit that overload and then fail to compile.
|
||||
#if defined(KOKKOS_COMPILER_INTEL) && (1700 > KOKKOS_COMPILER_INTEL)
|
||||
#if defined(KOKKOS_COMPILER_INTEL)
|
||||
b.insert(b.begin(), typename Vector::size_type(7), 9);
|
||||
#else
|
||||
b.insert(b.begin(), 7, 9);
|
||||
@ -125,7 +125,7 @@ struct test_vector_insert {
|
||||
|
||||
// Testing insert at end via all three function interfaces
|
||||
a.insert(a.end(), 11);
|
||||
#if defined(KOKKOS_COMPILER_INTEL) && (1700 > KOKKOS_COMPILER_INTEL)
|
||||
#if defined(KOKKOS_COMPILER_INTEL)
|
||||
a.insert(a.end(), typename Vector::size_type(2), 12);
|
||||
#else
|
||||
a.insert(a.end(), 2, 12);
|
||||
|
||||
Reference in New Issue
Block a user