@@ -70,7 +70,7 @@ TpetraCudaInternalLinearAlgebraFactory(Arccore::MessagePassing::IMessagePassingM
70
70
/* ---------------------------------------------------------------------------*/
71
71
72
72
Real
73
- TrilinosInternalLinearAlgebra::norm0 (const Vector& x) const
73
+ TrilinosInternalLinearAlgebra::norm0 ([[maybe_unused]] const Vector& x) const
74
74
{
75
75
return 0 .;
76
76
}
@@ -92,7 +92,7 @@ TrilinosInternalLinearAlgebra::norm2(const Vector& x) const
92
92
}
93
93
94
94
Real
95
- TrilinosInternalLinearAlgebra::normInf (const Vector& x) const
95
+ TrilinosInternalLinearAlgebra::normInf ([[maybe_unused]] const Vector& x) const
96
96
{
97
97
return 0 .;
98
98
}
@@ -119,7 +119,7 @@ TrilinosInternalLinearAlgebra::axpy(
119
119
}
120
120
121
121
void
122
- TrilinosInternalLinearAlgebra::axpy (Real alpha, const Vector& x, Vector& r) const
122
+ TrilinosInternalLinearAlgebra::axpy ([[maybe_unused]] Real alpha,[[maybe_unused]] const Vector& x,[[maybe_unused]] Vector& r) const
123
123
{
124
124
throw NotImplementedException (
125
125
A_FUNCINFO, " TrilinosInternalLinearAlgebra::aypx not implemented" );
@@ -128,14 +128,14 @@ TrilinosInternalLinearAlgebra::axpy(Real alpha, const Vector& x, Vector& r) cons
128
128
/* ---------------------------------------------------------------------------*/
129
129
void
130
130
TrilinosInternalLinearAlgebra::aypx (
131
- Real alpha, UniqueArray<Real>& y, const UniqueArray<Real>& x) const
131
+ [[maybe_unused]] Real alpha, [[maybe_unused]] UniqueArray<Real>& y,[[maybe_unused]] const UniqueArray<Real>& x) const
132
132
{
133
133
throw NotImplementedException (
134
134
A_FUNCINFO, " TrilinosInternalLinearAlgebra::aypx not implemented" );
135
135
}
136
136
137
137
void
138
- TrilinosInternalLinearAlgebra::aypx (Real alpha, Vector& y, const Vector& x) const
138
+ TrilinosInternalLinearAlgebra::aypx ([[maybe_unused]] Real alpha,[[maybe_unused]] Vector& y,[[maybe_unused]] const Vector& x) const
139
139
{
140
140
throw NotImplementedException (
141
141
A_FUNCINFO, " TrilinosInternalLinearAlgebra::aypx not implemented" );
@@ -145,12 +145,12 @@ TrilinosInternalLinearAlgebra::aypx(Real alpha, Vector& y, const Vector& x) cons
145
145
146
146
void
147
147
TrilinosInternalLinearAlgebra::copy (
148
- const UniqueArray<Real>& x, UniqueArray<Real>& r) const
148
+ [[maybe_unused]] const UniqueArray<Real>& x,[[maybe_unused]] UniqueArray<Real>& r) const
149
149
{
150
150
cblas::copy (x.size (), dataPtr (x), 1 , dataPtr (r), 1 );
151
151
}
152
152
void
153
- TrilinosInternalLinearAlgebra::copy (const Vector& x, Vector& r) const
153
+ TrilinosInternalLinearAlgebra::copy ([[maybe_unused]] const Vector& x,[[maybe_unused]] Vector& r) const
154
154
{
155
155
throw NotImplementedException (
156
156
A_FUNCINFO, " TrilinosInternalLinearAlgebra::aypx not implemented" );
@@ -171,14 +171,14 @@ TrilinosInternalLinearAlgebra::dot(const Vector& x, const Vector& y) const
171
171
172
172
/* ---------------------------------------------------------------------------*/
173
173
void
174
- TrilinosInternalLinearAlgebra::scal (Real alpha, UniqueArray<Real>& x) const
174
+ TrilinosInternalLinearAlgebra::scal ([[maybe_unused]] Real alpha,[[maybe_unused]] UniqueArray<Real>& x) const
175
175
{
176
176
throw NotImplementedException (
177
177
A_FUNCINFO, " TrilinosInternalLinearAlgebra::scal not implemented" );
178
178
}
179
179
180
180
void
181
- TrilinosInternalLinearAlgebra::scal (Real alpha, Vector& x) const
181
+ TrilinosInternalLinearAlgebra::scal ([[maybe_unused]] Real alpha,[[maybe_unused]] Vector& x) const
182
182
{
183
183
throw NotImplementedException (
184
184
A_FUNCINFO, " TrilinosInternalLinearAlgebra::scal not implemented" );
@@ -187,7 +187,7 @@ TrilinosInternalLinearAlgebra::scal(Real alpha, Vector& x) const
187
187
/* ---------------------------------------------------------------------------*/
188
188
189
189
void
190
- TrilinosInternalLinearAlgebra::diagonal (const Matrix& a, Vector& x) const
190
+ TrilinosInternalLinearAlgebra::diagonal ([[maybe_unused]] const Matrix& a,[[maybe_unused]] Vector& x) const
191
191
{
192
192
throw NotImplementedException (
193
193
A_FUNCINFO, " TrilinosInternalLinearAlgebra::diagonal not implemented" );
@@ -196,7 +196,7 @@ TrilinosInternalLinearAlgebra::diagonal(const Matrix& a, Vector& x) const
196
196
/* ---------------------------------------------------------------------------*/
197
197
198
198
void
199
- TrilinosInternalLinearAlgebra::reciprocal (Vector& x) const
199
+ TrilinosInternalLinearAlgebra::reciprocal ([[maybe_unused]] Vector& x) const
200
200
{
201
201
throw NotImplementedException (
202
202
A_FUNCINFO, " TrilinosInternalLinearAlgebra::reciprocal not implemented" );
@@ -206,7 +206,7 @@ TrilinosInternalLinearAlgebra::reciprocal(Vector& x) const
206
206
207
207
void
208
208
TrilinosInternalLinearAlgebra::pointwiseMult (
209
- const Vector& x, const Vector& y, Vector& w) const
209
+ [[maybe_unused]] const Vector& x,[[maybe_unused]] const Vector& y,[[maybe_unused]] Vector& w) const
210
210
{
211
211
throw NotImplementedException (
212
212
A_FUNCINFO, " TrilinosInternalLinearAlgebra::pointwiseMult not implemented" );
0 commit comments