rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
type_rule_descriptor.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/operation/type_rule/type_pivot_descriptor.hpp>
6#include <rexlib/core/operation/type_rule/type_slot_descriptor.hpp>
7
8#include <rexlib/core/span.hpp>
9
10namespace rexlib
11{
12
62
63} // namespace rexlib
64
65#include "type_rule_descriptor.inl"
Container for multidimensional numeric data.
Definition array.hpp:31
Represents a non-owning area of contiguous memory.
Definition span.hpp:99
Type erased form of a type_pivot.
Definition type_pivot_descriptor.hpp:21
Type erased form of an operand_type_rule.
Definition type_rule_descriptor.hpp:19
span< const type_slot_descriptor > get_input_slots() const noexcept
Get the slot of every input.
span< const type_slot_descriptor > get_output_slots() const noexcept
Get the slot of every output.
span< const type_pivot_descriptor > get_pivots() const noexcept
Get the pivots.
type_rule_descriptor(span< const type_pivot_descriptor > pivots, span< const type_slot_descriptor > output_slots, span< const type_slot_descriptor > input_slots) noexcept
Construct a type rule descriptor.
Type erased form of a type_slot.
Definition type_slot_descriptor.hpp:18
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10