rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
memory_resource_affinity.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5namespace rexlib
6{
7
12{
14 host,
16 device,
17
18 // Add here.
19
20 count
21};
22
23} // namespace rexlib
Abstract representation of a hardware compute device.
Definition device.hpp:26
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
memory_resource_affinity
Enumeration to query memory_resource according to its intended usage.
Definition memory_resource_affinity.hpp:12
@ host
The memory resource can be optimally accessed by the host.