Class Device¶
Defined in File device.h
Inheritance Relationships¶
Derived Types¶
public marian::cpu::Device
(Class Device)public marian::cpu::WrappedDevice
(Class WrappedDevice)public marian::gpu::Device
(Class Device)
Class Documentation¶
-
class
Device
¶ Subclassed by marian::cpu::Device, marian::cpu::WrappedDevice, marian::gpu::Device
Public Functions
-
virtual
~Device
()¶
-
virtual void
reserve
(size_t size) = 0¶
-
virtual uint8_t *
data
()¶
-
virtual size_t
size
()¶
Protected Functions
-
size_t
align
(size_t size) const¶
-
virtual