0,
size),
KOKKOS_LAMBDA(size_type i, Number & update) {
- update += Kokkos::abs(data.values(i));
+#if KOKKOS_VERSION < 30700
+ update += Kokkos::Experimental::fabs(data.values(i));
+#else
+ update += Kokkos::fabs(data.values(i));
+#endif
},
sum);
}
0,
size),
KOKKOS_LAMBDA(size_type i, Number & update) {
- update += Kokkos::pow(Kokkos::abs(data.values(i)), exp);
+#if KOKKOS_VERSION < 30700
+ update += Kokkos::Experimental::pow(
+ Kokkos::Experimental::fabs(data.values(i)), exp);
+#else
+ update += Kokkos::pow(Kokkos::fabs(data.values(i)), exp);
+#endif
},
sum);
}
{
namespace distributed
{
- template class Vector<float, ::dealii::MemorySpace::CUDA>;
- template class Vector<double, ::dealii::MemorySpace::CUDA>;
+ template class Vector<float, ::dealii::MemorySpace::Device>;
+ template class Vector<double, ::dealii::MemorySpace::Device>;
template void
Vector<float, ::dealii::MemorySpace::Host>::import<
- ::dealii::MemorySpace::CUDA>(
- const Vector<float, ::dealii::MemorySpace::CUDA> &,
+ ::dealii::MemorySpace::Device>(
+ const Vector<float, ::dealii::MemorySpace::Device> &,
VectorOperation::values);
template void
Vector<double, ::dealii::MemorySpace::Host>::import<
- ::dealii::MemorySpace::CUDA>(
- const Vector<double, ::dealii::MemorySpace::CUDA> &,
+ ::dealii::MemorySpace::Device>(
+ const Vector<double, ::dealii::MemorySpace::Device> &,
VectorOperation::values);
template void
- Vector<float, ::dealii::MemorySpace::CUDA>::import<
+ Vector<float, ::dealii::MemorySpace::Device>::import<
::dealii::MemorySpace::Host>(
const Vector<float, ::dealii::MemorySpace::Host> &,
VectorOperation::values);
template void
- Vector<double, ::dealii::MemorySpace::CUDA>::import<
+ Vector<double, ::dealii::MemorySpace::Device>::import<
::dealii::MemorySpace::Host>(
const Vector<double, ::dealii::MemorySpace::Host> &,
VectorOperation::values);
template void
- Vector<float, ::dealii::MemorySpace::CUDA>::import<
- ::dealii::MemorySpace::CUDA>(
- const Vector<float, ::dealii::MemorySpace::CUDA> &,
+ Vector<float, ::dealii::MemorySpace::Device>::import<
+ ::dealii::MemorySpace::Device>(
+ const Vector<float, ::dealii::MemorySpace::Device> &,
VectorOperation::values);
template void
- Vector<double, ::dealii::MemorySpace::CUDA>::import<
- ::dealii::MemorySpace::CUDA>(
- const Vector<double, ::dealii::MemorySpace::CUDA> &,
+ Vector<double, ::dealii::MemorySpace::Device>::import<
+ ::dealii::MemorySpace::Device>(
+ const Vector<double, ::dealii::MemorySpace::Device> &,
VectorOperation::values);
} // namespace distributed
} // namespace LinearAlgebra
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase> &);
template void
ReadWriteVector<float>::import(
- const distributed::Vector<float, ::dealii::MemorySpace::CUDA> &,
+ const distributed::Vector<float, ::dealii::MemorySpace::Device> &,
VectorOperation::values,
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase> &);
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase> &);
template void
ReadWriteVector<double>::import(
- const distributed::Vector<double, ::dealii::MemorySpace::CUDA> &,
+ const distributed::Vector<double, ::dealii::MemorySpace::Device> &,
VectorOperation::values,
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase> &);
# ifdef DEAL_II_WITH_COMPLEX_VALUES