Classes | |
| struct | Dims |
| struct ddc::experimental::Dims |
Definition at line 22 of file parallel_transform_scan.hpp.

|
noexcept |
Performs a parallel transform-reduce over an nD domain using a Kokkos execution space.
For each element of out, a reduction is performed over the dimensions of domain that are not present in out.domain(). The reduction combines the values obtained by applying transform to each element of the corresponding subdomain.
| [in] | label | name used to identify the Kokkos kernel. |
| [in] | execution_space | Kokkos execution space on which the reductions are executed. |
| [in] | domain | full domain over which the transform-reduce is defined. |
| [out] | out | chunk receiving the reduction result for each point of out.domain(). Its domain must be a subdomain of domain. |
| [in] | reduce | binary reduction operator used to combine transformed values. It must be compatible with the value type stored in out. |
| [in] | transform | unary function applied to each element of the reduction subdomain. Its return type must be accepted by reduce. |
Definition at line 369 of file parallel_transform_reduce.hpp.
|
noexcept |
Definition at line 153 of file parallel_transform_scan.hpp.
|
noexcept |
Definition at line 177 of file parallel_transform_scan.hpp.
| void ddc::experimental::save_npy | ( | std::ostream & | os, |
| ChunkSpan< T, SupportType, LayoutStridedPolicy, MemorySpace > const & | chunk_span | ||
| ) |
Save a ddc::ChunkSpan in the NumPy format in a stream.
| os | Output stream receiving the .npy data. |
| chunk_span | ChunkSpan to serialize. |
Definition at line 122 of file save_npy.hpp.
| void ddc::experimental::save_npy | ( | std::filesystem::path const & | filename, |
| ChunkSpan< T, SupportType, LayoutStridedPolicy, MemorySpace > const & | chunk_span | ||
| ) |
Save a ddc::ChunkSpan in the NumPy format in a file.
| filename | Path to the output .npy file. |
| chunk_span | ChunkSpan to serialize. |
Definition at line 140 of file save_npy.hpp.