Loading...
Searching...
No Matches
Tensor
1// This file is part of Eigen, a lightweight C++ template library
2// for linear algebra.
3//
4// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
5// Copyright (C) 2013 Christian Seiler <christian@iwakd.de>
6//
7// This Source Code Form is subject to the terms of the Mozilla
8// Public License v. 2.0. If a copy of the MPL was not distributed
9// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
11//#ifndef EIGEN_CXX11_TENSOR_MODULE
12//#define EIGEN_CXX11_TENSOR_MODULE
13
14#include "../../../Eigen/Core"
15
16#ifdef EIGEN_USE_SYCL
17#undef min
18#undef max
19#undef isnan
20#undef isinf
21#undef isfinite
22#include <SYCL/sycl.hpp>
23#include <map>
24#include <memory>
25#include <utility>
26#endif
27
28#include <Eigen/src/Core/util/DisableStupidWarnings.h>
29
30#include "../SpecialFunctions"
31#include "src/util/CXX11Meta.h"
32#include "src/util/MaxSizeVector.h"
33
45
46#include <cmath>
47#include <cstddef>
48#include <cstring>
49
50#if __cplusplus > 199711 || EIGEN_COMP_MSVC >= 1900
51#include <random>
52#endif
53
54#ifdef _WIN32
55#define NOMINMAX
56#include <windows.h>
57#elif defined(__APPLE__)
58#include <mach/mach_time.h>
59#include <unistd.h>
60#else
61#include <time.h>
62#include <unistd.h>
63#endif
64
65#ifdef EIGEN_USE_THREADS
66#include "ThreadPool"
67#endif
68
69#ifdef EIGEN_USE_GPU
70#include <iostream>
71#include <cuda_runtime.h>
72#if __cplusplus >= 201103L
73#include <atomic>
74#include <chrono>
75#include <thread>
76#endif
77#endif
78
79#include "src/Tensor/TensorMacros.h"
80#include "src/Tensor/TensorForwardDeclarations.h"
81#include "src/Tensor/TensorMeta.h"
82#include "src/Tensor/TensorFunctors.h"
83#include "src/Tensor/TensorCostModel.h"
84#include "src/Tensor/TensorDeviceDefault.h"
85#include "src/Tensor/TensorDeviceThreadPool.h"
86#include "src/Tensor/TensorDeviceCuda.h"
87#include "src/Tensor/TensorDeviceSycl.h"
88#include "src/Tensor/TensorIndexList.h"
89#include "src/Tensor/TensorDimensionList.h"
90#include "src/Tensor/TensorDimensions.h"
91#include "src/Tensor/TensorInitializer.h"
92#include "src/Tensor/TensorTraits.h"
93#include "src/Tensor/TensorRandom.h"
94#include "src/Tensor/TensorUInt128.h"
95#include "src/Tensor/TensorIntDiv.h"
96#include "src/Tensor/TensorGlobalFunctions.h"
97
98#include "src/Tensor/TensorBase.h"
99
100#include "src/Tensor/TensorEvaluator.h"
101#include "src/Tensor/TensorExpr.h"
102#include "src/Tensor/TensorReduction.h"
103#include "src/Tensor/TensorReductionCuda.h"
104#include "src/Tensor/TensorArgMax.h"
105#include "src/Tensor/TensorConcatenation.h"
106#include "src/Tensor/TensorContractionMapper.h"
107#include "src/Tensor/TensorContractionBlocking.h"
108#include "src/Tensor/TensorContraction.h"
109#include "src/Tensor/TensorContractionThreadPool.h"
110#include "src/Tensor/TensorContractionCuda.h"
111#include "src/Tensor/TensorConversion.h"
112#include "src/Tensor/TensorConvolution.h"
113#include "src/Tensor/TensorFFT.h"
114#include "src/Tensor/TensorPatch.h"
115#include "src/Tensor/TensorImagePatch.h"
116#include "src/Tensor/TensorVolumePatch.h"
117#include "src/Tensor/TensorBroadcasting.h"
118#include "src/Tensor/TensorChipping.h"
119#include "src/Tensor/TensorInflation.h"
120#include "src/Tensor/TensorLayoutSwap.h"
121#include "src/Tensor/TensorMorphing.h"
122#include "src/Tensor/TensorPadding.h"
123#include "src/Tensor/TensorReverse.h"
124#include "src/Tensor/TensorShuffling.h"
125#include "src/Tensor/TensorStriding.h"
126#include "src/Tensor/TensorCustomOp.h"
127#include "src/Tensor/TensorEvalTo.h"
128#include "src/Tensor/TensorForcedEval.h"
129#include "src/Tensor/TensorGenerator.h"
130#include "src/Tensor/TensorAssign.h"
131#include "src/Tensor/TensorScan.h"
132
133#include "src/Tensor/TensorSycl.h"
134#include "src/Tensor/TensorExecutor.h"
135#include "src/Tensor/TensorDevice.h"
136
137#include "src/Tensor/TensorStorage.h"
138#include "src/Tensor/Tensor.h"
139#include "src/Tensor/TensorFixedSize.h"
140#include "src/Tensor/TensorMap.h"
141#include "src/Tensor/TensorRef.h"
142
143#include "src/Tensor/TensorIO.h"
144
145#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
146
147//#endif // EIGEN_CXX11_TENSOR_MODULE