Class CPUStorage¶
Defined in File storage.h
Inheritance Relationships¶
Base Type¶
public spdl::core::Storage
(Struct Storage)
Class Documentation¶
-
class CPUStorage : public spdl::core::Storage¶
Public Functions
-
virtual void *data() const override¶
-
bool is_pinned() const¶
-
CPUStorage() = default¶
-
explicit CPUStorage(size_t size, bool pin_memory = false)¶
-
CPUStorage(const CPUStorage&) = delete¶
-
CPUStorage &operator=(const CPUStorage&) = delete¶
-
CPUStorage(CPUStorage&&) noexcept¶
-
CPUStorage &operator=(CPUStorage&&) noexcept¶
-
~CPUStorage() override¶
Public Members
-
size_t size¶
-
virtual void *data() const override¶