1// This file is part of Eigen, a lightweight C++ template library
4// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
5// Copyright (C) 2013 Christian Seiler <christian@iwakd.de>
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/.
11// #ifndef EIGEN_CXX11_TENSOR_MODULE_H
12#define EIGEN_CXX11_TENSOR_MODULE_H
14#include "../../../Eigen/Core"
16#include "../SpecialFunctions"
18#include "../../../Eigen/src/Core/util/DisableStupidWarnings.h"
20// IWYU pragma: begin_exports
21#include "../../../Eigen/src/Core/util/Meta.h"
22#include "../../../Eigen/src/Core/util/MaxSizeVector.h"
23// IWYU pragma: end_exports
25/** \defgroup CXX11_Tensor_Module Tensor Module
27 * This module provides a Tensor class for storing arbitrarily indexed
31 * #include <Eigen/CXX11/Tensor>
34 * Much of the documentation can be found \ref eigen_tensors "here".
47#if defined(EIGEN_USE_THREADS) || defined(EIGEN_USE_SYCL)
48#include "../../../Eigen/ThreadPool"
53#if defined(EIGEN_USE_HIP)
54#include <hip/hip_runtime.h>
56#include <cuda_runtime.h>
60// IWYU pragma: begin_exports
61#include "src/Tensor/TensorMacros.h"
62#include "src/Tensor/TensorForwardDeclarations.h"
63#include "src/Tensor/TensorMeta.h"
64#include "src/Tensor/TensorFunctors.h"
65#include "src/Tensor/TensorCostModel.h"
66#include "src/Tensor/TensorDeviceDefault.h"
67#include "src/Tensor/TensorDeviceThreadPool.h"
68#include "src/Tensor/TensorDeviceGpu.h"
72#include "src/Tensor/TensorDeviceSycl.h"
73#include "src/Tensor/TensorIndexList.h"
74#include "src/Tensor/TensorDimensionList.h"
75#include "src/Tensor/TensorDimensions.h"
76#include "src/Tensor/TensorInitializer.h"
77#include "src/Tensor/TensorTraits.h"
78#include "src/Tensor/TensorRandom.h"
79#include "src/Tensor/TensorUInt128.h"
80#include "src/Tensor/TensorIntDiv.h"
81#include "src/Tensor/TensorGlobalFunctions.h"
83#include "src/Tensor/TensorIO.h"
85#include "src/Tensor/TensorBase.h"
86#include "src/Tensor/TensorBlock.h"
88#include "src/Tensor/TensorEvaluator.h"
89#include "src/Tensor/TensorExpr.h"
90#include "src/Tensor/TensorReduction.h"
91#include "src/Tensor/TensorReductionGpu.h"
92#include "src/Tensor/TensorArgMax.h"
93#include "src/Tensor/TensorConcatenation.h"
94#include "src/Tensor/TensorContractionMapper.h"
95#include "src/Tensor/TensorContractionBlocking.h"
96#include "src/Tensor/TensorContraction.h"
97#include "src/Tensor/TensorContractionThreadPool.h"
98#include "src/Tensor/TensorContractionGpu.h"
99#include "src/Tensor/TensorConversion.h"
100#include "src/Tensor/TensorConvolution.h"
101#include "src/Tensor/TensorFFT.h"
102#include "src/Tensor/TensorPatch.h"
103#include "src/Tensor/TensorImagePatch.h"
104#include "src/Tensor/TensorVolumePatch.h"
105#include "src/Tensor/TensorBroadcasting.h"
106#include "src/Tensor/TensorChipping.h"
107#include "src/Tensor/TensorInflation.h"
108#include "src/Tensor/TensorLayoutSwap.h"
109#include "src/Tensor/TensorMorphing.h"
110#include "src/Tensor/TensorPadding.h"
111#include "src/Tensor/TensorReverse.h"
112#include "src/Tensor/TensorRoll.h"
113#include "src/Tensor/TensorShuffling.h"
114#include "src/Tensor/TensorStriding.h"
115#include "src/Tensor/TensorCustomOp.h"
116#include "src/Tensor/TensorEvalTo.h"
117#include "src/Tensor/TensorForcedEval.h"
118#include "src/Tensor/TensorGenerator.h"
119#include "src/Tensor/TensorAssign.h"
120#include "src/Tensor/TensorScan.h"
121#include "src/Tensor/TensorTrace.h"
124#include "src/Tensor/TensorReductionSycl.h"
125#include "src/Tensor/TensorConvolutionSycl.h"
126#include "src/Tensor/TensorContractionSycl.h"
127#include "src/Tensor/TensorScanSycl.h"
130#include "src/Tensor/TensorExecutor.h"
131#include "src/Tensor/TensorDevice.h"
133#include "src/Tensor/TensorStorage.h"
134#include "src/Tensor/Tensor.h"
135#include "src/Tensor/TensorFixedSize.h"
136#include "src/Tensor/TensorMap.h"
137#include "src/Tensor/TensorRef.h"
138// IWYU pragma: end_exports
140#include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h"
142// #endif // EIGEN_CXX11_TENSOR_MODULE_H