Deepity
Ultra-fast, SIMD-accelerated Predictive Coding
Loading...
Searching...
No Matches
Backend.h
Go to the documentation of this file.
1#pragma once
2#include <memory>
5
6namespace Deep
7{
9 std::unique_ptr<IComputeBackend> CreateBackend(DeviceType device);
10}
A device-aware, RAII-managed buffer. Device is fixed at construction – there is no support for moving...
This file exists to provide both Tensor.h and IComputeBackend.h with device types without introducing...
Definition Backend.cpp:10
DeviceType
Which physical device a Tensor/IComputeBackend pair runs on.
Definition DeviceType.h:8
std::unique_ptr< IComputeBackend > CreateBackend(DeviceType device)
Factory function to create the appropriate backend.
Definition Backend.cpp:11