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
hardware
memory_resource_affinity.hpp
1
// SPDX-License-Identifier: GPL-3.0-only
2
3
#pragma once
4
5
namespace
rexlib
6
{
7
11
enum class
memory_resource_affinity
12
{
14
host
,
16
device
,
17
18
// Add here.
19
20
count
21
};
22
23
}
// namespace rexlib
rexlib::device
Abstract representation of a hardware compute device.
Definition
device.hpp:26
rexlib
Arrays, the operations on them and the devices that run those operations.
Definition
cpu_device.hpp:10
rexlib::memory_resource_affinity
memory_resource_affinity
Enumeration to query memory_resource according to its intended usage.
Definition
memory_resource_affinity.hpp:12
rexlib::memory_resource_affinity::host
@ host
The memory resource can be optimally accessed by the host.
Generated by
1.9.8