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
device_type.hpp
1
// SPDX-License-Identifier: GPL-3.0-only
2
3
#pragma once
4
5
#include "../platform/dynamic_shared_object.h"
6
7
namespace
rexlib
8
{
9
13
enum class
device_type
14
{
17
unknown
= -1,
19
cpu
,
22
gpu
,
25
integrated_gpu
,
26
};
27
28
REXLIB_API
29
const
char
* to_string(
device_type
type)
noexcept
;
30
31
}
// namespace rexlib
rexlib
Arrays, the operations on them and the devices that run those operations.
Definition
cpu_device.hpp:10
rexlib::device_type
device_type
Broad classification of compute devices.
Definition
device_type.hpp:14
rexlib::device_type::gpu
@ gpu
rexlib::device_type::integrated_gpu
@ integrated_gpu
rexlib::device_type::unknown
@ unknown
rexlib::device_type::cpu
@ cpu
CPU of the host node.
Generated by
1.9.8