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