Morpheus 1.0.0
Dynamic matrix type and algorithms for sparse matrices
Loading...
Searching...
No Matches
Coo/Kokkos/Morpheus_Convert_Impl.hpp
1
24#ifndef MORPHEUS_COO_KOKKOS_CONVERT_IMPL_HPP
25#define MORPHEUS_COO_KOKKOS_CONVERT_IMPL_HPP
26
27#include <Morpheus_Exceptions.hpp>
28#include <Morpheus_SpaceTraits.hpp>
29#include <Morpheus_FormatTraits.hpp>
30#include <Morpheus_FormatTags.hpp>
31#include <Morpheus_Spaces.hpp>
32
33namespace Morpheus {
34namespace Impl {
35
36template <typename ExecSpace, typename SourceType, typename DestinationType>
37inline void convert(
38 const SourceType&, DestinationType&,
39 typename std::enable_if_t<
40 Morpheus::is_coo_matrix_format_container_v<SourceType> &&
41 Morpheus::is_coo_matrix_format_container_v<DestinationType> &&
42 Morpheus::has_generic_backend_v<ExecSpace> &&
43 Morpheus::has_access_v<ExecSpace, SourceType, DestinationType>>* =
44 nullptr) {
45 throw Morpheus::NotImplementedException("convert<Kokkos>");
46}
47
48} // namespace Impl
49} // namespace Morpheus
50
51#endif // MORPHEUS_COO_KOKKOS_CONVERT_IMPL_HPP
Definition: Morpheus_Exceptions.hpp:43
Generic Morpheus interfaces.
Definition: dummy.cpp:24