rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
program.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include "program_scratch_requirement.hpp"
6
7#include <rexlib/core/platform/dynamic_shared_object.h>
8#include <rexlib/core/span.hpp>
9
10#include <memory>
11#include <cstddef>
12
13namespace rexlib
14{
15
26class REXLIB_API program
27{
28public:
29 program() noexcept;
30 program(const program &other) = delete;
31 program(program &&other) = delete;
32 virtual ~program();
33
34 program& operator=(const program &other) = delete;
35 program& operator=(program &&other) = delete;
36
62 virtual
64};
65
66} // namespace rexlib
Abstract representation of an executable program.
Definition program.hpp:27
virtual span< const program_scratch_requirement > get_scratch_requirements() const
Queries the scratch buffer requirements for this program.
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