Deepity
Ultra-fast, SIMD-accelerated Predictive Coding
Loading...
Searching...
No Matches
DeviceType.h
Go to the documentation of this file.
1
#pragma once
2
4
namespace
Deep
5
{
7
enum class
DeviceType
8
{
9
DEVICE_CPU
,
10
DEVICE_GPU
11
};
12
}
Deep
This file exists to provide both Tensor.h and IComputeBackend.h with device types without introducing...
Definition
Backend.cpp:10
Deep::DeviceType
DeviceType
Which physical device a Tensor/IComputeBackend pair runs on.
Definition
DeviceType.h:8
Deep::DeviceType::DEVICE_CPU
@ DEVICE_CPU
Definition
DeviceType.h:9
Deep::DeviceType::DEVICE_GPU
@ DEVICE_GPU
Definition
DeviceType.h:10
include
deepity
backend
DeviceType.h
Generated by
1.16.1