rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
joint_layout_builder.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include "joint_layout_build_flags.hpp"
6#include "joint_layout.hpp"
7#include "../span.hpp"
8#include "../platform/dynamic_shared_object.h"
9
10#include <memory>
11
12namespace rexlib
13{
14
15class strided_layout;
16class joint_layout_implementation;
17
132
133} // namespace rexlib
Container for multidimensional numeric data.
Definition array.hpp:31
Factory class to obtain instances of array_access_layout.
Definition joint_layout_builder.hpp:25
joint_layout build(joint_layout_build_flags flags=default_flags)
Build the joint_layout from the operands contained in this builder.
joint_layout_builder & add_operand(const strided_layout &layout)
Add an operand to the layout.
joint_layout_builder & add_operand(span< const std::size_t > extents, span< const std::ptrdiff_t > strides, std::ptrdiff_t offset)
Add an operand to the layout.
const joint_layout_implementation * get_implementation() const noexcept
Get a pointer to the implementation.
joint_layout_builder & set_extents(span< const std::size_t > extents)
Set the extents of the iteration space.
Provides joint access semantics for multiple operands.
Definition joint_layout.hpp:30
Definition strided_layout.hpp:21
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
@ enable_reordering
Reorder axes by memory locality.
@ enable_coalescing
Coalesce contiguous axes.