@@ -124,10 +124,10 @@ namespace oneapi {
124
124
marray<sycl::ext::oneapi::complex<T>, NumElements> make_complex_marray(const marray<T, NumElements> &real, const marray<T, NumElements> &imag);
125
125
126
126
template <class T, std::size_t NumElements>
127
- marray<sycl::ext::oneapi::complex<T>, NumElements> make_complex_marray(const marray<T, NumElements> &real, const T imag);
127
+ marray<sycl::ext::oneapi::complex<T>, NumElements> make_complex_marray(const marray<T, NumElements> &real, T imag);
128
128
129
129
template <class T, std::size_t NumElements>
130
- marray<sycl::ext::oneapi::complex<T>, NumElements> make_complex_marray(const T real, const marray<T, NumElements> &imag);
130
+ marray<sycl::ext::oneapi::complex<T>, NumElements> make_complex_marray(T real, const marray<T, NumElements> &imag);
131
131
132
132
template <class T, std::size_t NumElements, std::size_t... I>
133
133
marray<sycl::ext::oneapi::complex<T>, NumElements> make_complex_marray(const marray<T, NumElements> &real, const marray<T, NumElements> &imag, std::integer_sequence<std::size_t, I...> int_seq);
@@ -160,10 +160,10 @@ namespace oneapi {
160
160
void set_imag(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, const marray<T, NumElements> &values);
161
161
162
162
template <class T, std::size_t NumElements>
163
- void set_real(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, const T value);
163
+ void set_real(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, T value);
164
164
165
165
template <class T, std::size_t NumElements>
166
- void set_imag(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, const T value);
166
+ void set_imag(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, T value);
167
167
168
168
} // namespace oneapi
169
169
} // namespace ext
@@ -188,9 +188,9 @@ proposed.
188
188
189
189
|`mgencomplex make_complex_marray(const mgenfloat& x, const mgenfloat& y);`
190
190
|Constructs a marray of complex numbers with real values in marray x, and the imaginary values in marray y.
191
- |`mgencomplex make_complex_marray(const mgenfloat& x, const genfloat y);`
191
+ |`mgencomplex make_complex_marray(const mgenfloat& x, genfloat y);`
192
192
|Constructs a marray of complex numbers with real values in marray x, and the imaginary value y.
193
- |`mgencomplex make_complex_marray(const genfloat x, const mgenfloat& y);`
193
+ |`mgencomplex make_complex_marray(genfloat x, const mgenfloat& y);`
194
194
|Constructs a marray of complex numbers with real value x, and the imaginary values in marray y.
195
195
|`mgencomplex make_complex_marray(const mgenfloat& x, const mgenfloat& y, std::integer_sequence int_seq);`
196
196
|Constructs a marray of complex numbers from real values in marray x, and the imaginary values in marray y. Each element should be constructed from the corresponding index within `int_seq` and the returned marray size should be the same as the `int_seq` size.
@@ -208,9 +208,9 @@ proposed.
208
208
|Set each element of the real components in x to the corresponding element in y.
209
209
|`void set_imag(mgencomplex& x, const mgenfloat& y);`
210
210
|Set each element of the imaginary components in x to the corresponding element in y.
211
- |`void set_real(mgencomplex& x, const genfloat y);`
211
+ |`void set_real(mgencomplex& x, genfloat y);`
212
212
|Set each element of the real components in x to the decimal number y.
213
- |`void set_imag(mgencomplex& x, const genfloat y);`
213
+ |`void set_imag(mgencomplex& x, genfloat y);`
214
214
|Set each element of the imaginary components in x to the decimal number y.
215
215
|===
216
216
0 commit comments