rexlib
0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
rexlib
core
dispatch
program_cache_key.hpp
1
// SPDX-License-Identifier: GPL-3.0-only
2
3
#pragma once
4
5
#include <rexlib/core/platform/dynamic_shared_object.h>
6
7
#include <cstddef>
8
9
namespace
rexlib
10
{
11
15
class
REXLIB_API
program_cache_key
16
{
17
public
:
18
program_cache_key
()
noexcept
;
19
program_cache_key
(
20
const
program_cache_key
&other
21
) =
delete
;
22
program_cache_key
(
23
program_cache_key
&&other
24
) =
delete
;
25
virtual
~program_cache_key
();
26
27
program_cache_key
&
28
operator=(
const
program_cache_key
&other) =
delete
;
29
program_cache_key
&
30
operator=(
program_cache_key
&&other) =
delete
;
31
37
virtual
std::size_t
hash
() const noexcept = 0;
38
50
virtual
51
bool
equals(const
program_cache_key
&other) const noexcept = 0;
52
};
53
54
}
// namespace rexlib
rexlib::program_cache_key
Abstract base for keys stored in an program_cache.
Definition
program_cache_key.hpp:16
rexlib::program_cache_key::hash
virtual std::size_t hash() const noexcept=0
Hash of the wrapped key.
rexlib
Arrays, the operations on them and the devices that run those operations.
Definition
cpu_device.hpp:10
Generated by
1.9.8