rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
operation.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/operation/operation_descriptor.hpp>
6#include <rexlib/core/operation/operation_id.hpp>
7#include <rexlib/core/operation/operation_signature.hpp>
8
9#include <rexlib/core/platform/dynamic_shared_object.h>
10
11namespace rexlib
12{
13
14class operation_id;
15
23{
24public:
25 operation() noexcept;
26 operation(const operation &other) = delete;
27 operation(operation &&other) = delete;
28 virtual ~operation();
29
30 operation& operator=(const operation &other) = delete;
31 operation& operator=(operation &&other) = delete;
32
45 virtual
47
60
69};
70
71} // namespace rexlib
Container for multidimensional numeric data.
Definition array.hpp:31
const array_descriptor & get_descriptor() const noexcept
Get the descriptor of this array.
Immutable static description of an operation type.
Definition operation_descriptor.hpp:30
Unique identification for an operation type.
Definition operation_id.hpp:16
Interface deciding the shape and data type of the operands of an operation.
Definition operation_signature.hpp:31
Abstract class that describes an operation.
Definition operation.hpp:23
virtual operation_id get_id() const noexcept
Get an identifier that uniquely represents this operation.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10