5#include <rexlib/core/operation/operand_names.hpp>
7#include <rexlib/core/platform/dynamic_shared_object.h>
8#include <rexlib/core/span.hpp>
127 const char *m_component;
162template <std::
size_t OutputCount, std::
size_t InputCount>
Container for multidimensional numeric data.
Definition array.hpp:31
Immutable static description of an operation type.
Definition operation_descriptor.hpp:30
operation_descriptor(const char *component, const char *name, span< const char *const > output_operand_names, span< const char *const > input_operand_names) noexcept
Construct a descriptor.
const char * get_name() const noexcept
Get the name of the operation.
span< const char *const > get_input_operand_names() const noexcept
Get the names of the input operands.
span< const char *const > get_output_operand_names() const noexcept
Get the names of the output operands.
const char * get_operand_name(std::size_t index, bool output_operand) const noexcept
Get the name of one operand.
const char * get_component() const noexcept
Get the component owning the operation.
Represents a non-owning area of contiguous memory.
Definition span.hpp:99
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
std::string describe_operand(const operation_descriptor &descriptor, std::size_t index, bool output_operand)
Describe an operand for a diagnostic.
operation_descriptor make_operation_descriptor(const char *component, const char *name, const operand_names< OutputCount > &outputs, const operand_names< InputCount > &inputs) noexcept
Build a descriptor from compile time operand name lists.
Definition operation_descriptor.hpp:163
@ inputs
Bound by the input axes that name the variable.