24#ifndef MORPHEUS_CSR_HIP_CONVERT_IMPL_HPP
25#define MORPHEUS_CSR_HIP_CONVERT_IMPL_HPP
27#include <Morpheus_Macros.hpp>
28#if defined(MORPHEUS_ENABLE_HIP)
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>
39template <
typename ExecSpace,
typename SourceType,
typename DestinationType>
41 const SourceType&, DestinationType&,
42 typename std::enable_if<
43 Morpheus::is_csr_matrix_format_container_v<SourceType> &&
44 Morpheus::is_csr_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* =
52template <
typename ExecSpace,
typename SourceType,
typename DestinationType>
54 const SourceType&, DestinationType&,
55 typename std::enable_if<
56 Morpheus::is_csr_matrix_format_container_v<SourceType> &&
57 Morpheus::is_coo_matrix_format_container_v<DestinationType> &&
58 Morpheus::has_custom_backend_v<ExecSpace> &&
59 Morpheus::has_hip_execution_space_v<ExecSpace> &&
60 Morpheus::has_access_v<ExecSpace, SourceType, DestinationType>>::type* =
65template <
typename ExecSpace,
typename SourceType,
typename DestinationType>
67 const SourceType&, DestinationType&,
68 typename std::enable_if<
69 Morpheus::is_coo_matrix_format_container_v<SourceType> &&
70 Morpheus::is_csr_matrix_format_container_v<DestinationType> &&
71 Morpheus::has_custom_backend_v<ExecSpace> &&
72 Morpheus::has_hip_execution_space_v<ExecSpace> &&
73 Morpheus::has_access_v<ExecSpace, SourceType, DestinationType>>::type* =
Definition: Morpheus_Exceptions.hpp:43
Generic Morpheus interfaces.
Definition: dummy.cpp:24