Skip to content

Commit 0fe2418

Browse files
author
aidan.belton
committed
Clarify mgencomplex
1 parent 0d647f7 commit 0fe2418

File tree

1 file changed

+9
-29
lines changed

1 file changed

+9
-29
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_complex_marray.asciidoc

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -170,35 +170,15 @@ namespace oneapi {
170170
} // namespace sycl
171171
```
172172

173-
The class `sycl::ext::oneapi::marray<sycl::ext::oneapi::complex<T>, N>`,
174-
has instantiations of `T`; `float`, `double`, and `sycl::half` declared.
175-
176-
```C++
177-
namespace sycl {
178-
namespace ext {
179-
namespace oneapi {
180-
181-
template <std::size_t NumElements>
182-
class marray<sycl::ext::oneapi::complex<double>, NumElements>;
183-
184-
template <std::size_t NumElements>
185-
class marray<sycl::ext::oneapi::complex<float>, NumElements>;
186-
187-
template <std::size_t NumElements>
188-
class marray<sycl::ext::oneapi::complex<sycl::half>, NumElements>;
189-
190-
} // namespace oneapi
191-
} // namespace ext
192-
} // namespace sycl
193-
```
194-
195-
The generic type `mgencomplex` is defined as types
196-
`marray<sycl::ext::oneapi::complex<double>, {N}>`,
197-
`marray<sycl::ext::oneapi::complex<float>, {N}>`,
198-
`marray<sycl::ext::oneapi::complex<sycl::half>, {N}>`.
199-
200-
The table below shows the free functions operating on the `marray` complex
201-
class. No table is provided for the `marray` class as no changes to it are
173+
The table below shows the free functions operating on the `marray` type
174+
when it is instantiated with `sycl::ext::oneapi::complex<double>`,
175+
`sycl::ext::oneapi::complex<float>`, and
176+
`sycl::ext::oneapi::complex<sycl::half>`. For the purposes of this
177+
specification, we use the generic type name `mgencomplex` to represent
178+
these three instantiations. However, there is no C++ type actually named
179+
`mgencomplex`.
180+
181+
No table is provided for the `marray` class as no changes to it are
202182
proposed.
203183

204184
[%header,cols="5,5"]

0 commit comments

Comments
 (0)