4template <
typename T,
int N>
5void LinearSystemContext::convert(
const DeviceTripletMatrix<T, N>& from,
6 DeviceBCOOMatrix<T, N>& to)
8 m_converter.convert(from, to);
12template <
typename T,
int N>
13void LinearSystemContext::convert(
const DeviceBCOOMatrix<T, N>& from,
14 DeviceDenseMatrix<T>& to,
15 bool clear_dense_matrix)
17 m_converter.convert(from, to, clear_dense_matrix);
21template <
typename T,
int N>
22void LinearSystemContext::convert(
const DeviceBCOOMatrix<T, N>& from,
23 DeviceCOOMatrix<T>& to)
25 m_converter.convert(from, to);
29template <
typename T,
int N>
30void LinearSystemContext::convert(
const DeviceBCOOMatrix<T, N>& from,
31 DeviceBSRMatrix<T, N>& to)
33 m_converter.convert(from, to);
37template <
typename T,
int N>
38void LinearSystemContext::convert(
const DeviceDoubletVector<T, N>& from,
39 DeviceBCOOVector<T, N>& to)
41 m_converter.convert(from, to);
45template <
typename T,
int N>
46void LinearSystemContext::convert(
const DeviceBCOOVector<T, N>& from,
47 DeviceDenseVector<T>& to,
48 bool clear_dense_vector)
50 m_converter.convert(from, to, clear_dense_vector);
54template <
typename T,
int N>
55void LinearSystemContext::convert(
const DeviceDoubletVector<T, N>& from,
56 DeviceDenseVector<T>& to,
57 bool clear_dense_vector)
59 m_converter.convert(from, to, clear_dense_vector);
63template <
typename T,
int N>
64void LinearSystemContext::convert(
const DeviceBSRMatrix<T, N>& from, DeviceCSRMatrix<T>& to)
66 m_converter.convert(from, to);
71void LinearSystemContext::convert(
const DeviceTripletMatrix<T, 1>& from,
72 DeviceCOOMatrix<T>& to)
74 m_converter.convert(from, to);
79void LinearSystemContext::convert(
const DeviceCOOMatrix<T>& from,
80 DeviceDenseMatrix<T>& to,
81 bool clear_dense_matrix)
83 m_converter.convert(from, to, clear_dense_matrix);
88void LinearSystemContext::convert(
const DeviceCOOMatrix<T>& from, DeviceCSRMatrix<T>& to)
90 m_converter.convert(from, to);
93void LinearSystemContext::convert(DeviceCOOMatrix<T>&& from, DeviceCSRMatrix<T>& to)
95 m_converter.convert(std::move(from), to);
100void LinearSystemContext::convert(
const DeviceDoubletVector<T, 1>& from,
101 DeviceCOOVector<T>& to)
103 m_converter.convert(from, to);
108void LinearSystemContext::convert(
const DeviceCOOVector<T>& from,
109 DeviceDenseVector<T>& to,
110 bool clear_dense_vector)
112 m_converter.convert(from, to, clear_dense_vector);
115void LinearSystemContext::convert(
const DeviceDoubletVector<T, 1>& from,
116 DeviceDenseVector<T>& to,
117 bool clear_dense_vector)
119 m_converter.convert(from, to, clear_dense_vector);