rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
device_type.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include "../platform/dynamic_shared_object.h"
6
7namespace rexlib
8{
9
13enum class device_type
14{
17 unknown = -1,
19 cpu,
22 gpu,
26};
27
28REXLIB_API
29const char* to_string(device_type type) noexcept;
30
31} // namespace rexlib
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
device_type
Broad classification of compute devices.
Definition device_type.hpp:14
@ cpu
CPU of the host node.