Class CPUStorage

Inheritance Relationships

Base Type

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