Skip to content

Commit 83b027e

Browse files
author
aidan.belton
committed
Remove redundant set/get_X overloads
1 parent bcb15ba commit 83b027e

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_complex_marray.asciidoc

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -270,13 +270,6 @@ namespace oneapi {
270270
template <class T, std::size_t NumElements>
271271
marray<T, NumElements> get_imag(const marray<sycl::ext::oneapi::complex<T>, NumElements> &input);
272272

273-
// return element of component
274-
template <class T, std::size_t NumElements>
275-
T get_real(const marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::size_t index);
276-
277-
template <class T, std::size_t NumElements>
278-
T get_imag(const marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::size_t index);
279-
280273
// return sequence of elements of component
281274
template <class T, std::size_t NumElements, std::size_t... I>
282275
marray<T, int_seq::size()> get_real(const marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::integer_sequence<std::size_t, I...> int_seq);
@@ -298,12 +291,6 @@ namespace oneapi {
298291
template <class T, std::size_t NumElements>
299292
void set_imag(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, const T value);
300293

301-
template <class T, std::size_t NumElements>
302-
void set_real(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::size_t index, const T value);
303-
304-
template <class T, std::size_t NumElements>
305-
void set_imag(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::size_t index, const T value);
306-
307294
} // namespace oneapi
308295
} // namespace ext
309296
} // namespace sycl
@@ -359,10 +346,6 @@ functions are removed and the underlying function defintion stays the same.
359346
|Returns an marray of the real components for marray of complex numbers.
360347
|`mgenfloat get_imag(const mgencomplex& x);`
361348
|Returns an marray of the imaginary components for marray of complex numbers.
362-
|`mgenfloat get_real(const mgencomplex& x, std::size_t idx);`
363-
|Returns the real component of the complex number for element idx in marray x.
364-
|`mgenfloat get_imag(const mgencomplex& x, std::size_t idx);`
365-
|Returns the imaginary component of the complex number for element idx in marray x.
366349
|`mgenfloat get_real(const mgencomplex& x, std::integer_sequence int_seq);`
367350
|Returns a sequence of real components of the complex number x. 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.
368351
|`mgenfloat get_imag(const mgencomplex& x, std::integer_sequence int_seq);`
@@ -375,10 +358,6 @@ functions are removed and the underlying function defintion stays the same.
375358
|Set each element of the real components in x to the decimal number y.
376359
|`void set_imag(mgencomplex& x, const genfloat& y);`
377360
|Set each element of the imaginary components in x to the decimal number y.
378-
|`void set_real(mgencomplex& x, std::size_t idx, const genfloat& y);`
379-
|Set the real value of element idx in x to the decimal number y.
380-
|`void set_imag(mgencomplex& x, std::size_t idx, const genfloat& y);`
381-
|Set the imaginary value of element idx in x to the decimal number y.
382361
|===
383362

384363
=== Mathematical operations

0 commit comments

Comments
 (0)