Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/eigen3/unsupported/Eigen/CXX11/Tensor is written in an unsupported language. File is not indexed.

0001 // This file is part of Eigen, a lightweight C++ template library
0002 // for linear algebra.
0003 //
0004 // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
0005 // Copyright (C) 2013 Christian Seiler <christian@iwakd.de>
0006 //
0007 // This Source Code Form is subject to the terms of the Mozilla
0008 // Public License v. 2.0. If a copy of the MPL was not distributed
0009 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
0010 
0011 //#ifndef EIGEN_CXX11_TENSOR_MODULE
0012 //#define EIGEN_CXX11_TENSOR_MODULE
0013 
0014 #include "../../../Eigen/Core"
0015 
0016 #if EIGEN_HAS_CXX11
0017 
0018 #include "../SpecialFunctions"
0019 
0020 #include "../../../Eigen/src/Core/util/DisableStupidWarnings.h"
0021 #include "src/util/CXX11Meta.h"
0022 #include "src/util/MaxSizeVector.h"
0023 
0024 /** \defgroup CXX11_Tensor_Module Tensor Module
0025   *
0026   * This module provides a Tensor class for storing arbitrarily indexed
0027   * objects.
0028   *
0029   * \code
0030   * #include <Eigen/CXX11/Tensor>
0031   * \endcode
0032   *
0033   * Much of the documentation can be found \ref eigen_tensors "here".
0034   */
0035 
0036 #include <atomic>
0037 #include <chrono>
0038 #include <cmath>
0039 #include <cstddef>
0040 #include <cstring>
0041 #include <random>
0042 #include <thread>
0043 
0044 #if defined(EIGEN_USE_THREADS) || defined(EIGEN_USE_SYCL)
0045 #include "ThreadPool"
0046 #endif
0047 
0048 #ifdef EIGEN_USE_GPU
0049   #include <iostream>
0050   #if defined(EIGEN_USE_HIP)
0051     #include <hip/hip_runtime.h>
0052   #else
0053     #include <cuda_runtime.h>
0054   #endif
0055 #endif
0056 
0057 #include "src/Tensor/TensorMacros.h"
0058 #include "src/Tensor/TensorForwardDeclarations.h"
0059 #include "src/Tensor/TensorMeta.h"
0060 #include "src/Tensor/TensorFunctors.h"
0061 #include "src/Tensor/TensorCostModel.h"
0062 #include "src/Tensor/TensorDeviceDefault.h"
0063 #include "src/Tensor/TensorDeviceThreadPool.h"
0064 #include "src/Tensor/TensorDeviceGpu.h"
0065 #ifndef gpu_assert
0066 #define gpu_assert(x)
0067 #endif
0068 #include "src/Tensor/TensorDeviceSycl.h"
0069 #include "src/Tensor/TensorIndexList.h"
0070 #include "src/Tensor/TensorDimensionList.h"
0071 #include "src/Tensor/TensorDimensions.h"
0072 #include "src/Tensor/TensorInitializer.h"
0073 #include "src/Tensor/TensorTraits.h"
0074 #include "src/Tensor/TensorRandom.h"
0075 #include "src/Tensor/TensorUInt128.h"
0076 #include "src/Tensor/TensorIntDiv.h"
0077 #include "src/Tensor/TensorGlobalFunctions.h"
0078 
0079 #include "src/Tensor/TensorBase.h"
0080 #include "src/Tensor/TensorBlock.h"
0081 
0082 #include "src/Tensor/TensorEvaluator.h"
0083 #include "src/Tensor/TensorExpr.h"
0084 #include "src/Tensor/TensorReduction.h"
0085 #include "src/Tensor/TensorReductionGpu.h"
0086 #include "src/Tensor/TensorArgMax.h"
0087 #include "src/Tensor/TensorConcatenation.h"
0088 #include "src/Tensor/TensorContractionMapper.h"
0089 #include "src/Tensor/TensorContractionBlocking.h"
0090 #include "src/Tensor/TensorContraction.h"
0091 #include "src/Tensor/TensorContractionThreadPool.h"
0092 #include "src/Tensor/TensorContractionGpu.h"
0093 #include "src/Tensor/TensorConversion.h"
0094 #include "src/Tensor/TensorConvolution.h"
0095 #include "src/Tensor/TensorFFT.h"
0096 #include "src/Tensor/TensorPatch.h"
0097 #include "src/Tensor/TensorImagePatch.h"
0098 #include "src/Tensor/TensorVolumePatch.h"
0099 #include "src/Tensor/TensorBroadcasting.h"
0100 #include "src/Tensor/TensorChipping.h"
0101 #include "src/Tensor/TensorInflation.h"
0102 #include "src/Tensor/TensorLayoutSwap.h"
0103 #include "src/Tensor/TensorMorphing.h"
0104 #include "src/Tensor/TensorPadding.h"
0105 #include "src/Tensor/TensorReverse.h"
0106 #include "src/Tensor/TensorShuffling.h"
0107 #include "src/Tensor/TensorStriding.h"
0108 #include "src/Tensor/TensorCustomOp.h"
0109 #include "src/Tensor/TensorEvalTo.h"
0110 #include "src/Tensor/TensorForcedEval.h"
0111 #include "src/Tensor/TensorGenerator.h"
0112 #include "src/Tensor/TensorAssign.h"
0113 #include "src/Tensor/TensorScan.h"
0114 #include "src/Tensor/TensorTrace.h"
0115 
0116 #ifdef EIGEN_USE_SYCL
0117 #include "src/Tensor/TensorReductionSycl.h"
0118 #include "src/Tensor/TensorConvolutionSycl.h"
0119 #include "src/Tensor/TensorContractionSycl.h"
0120 #include "src/Tensor/TensorScanSycl.h"
0121 #endif
0122 
0123 #include "src/Tensor/TensorExecutor.h"
0124 #include "src/Tensor/TensorDevice.h"
0125 
0126 #include "src/Tensor/TensorStorage.h"
0127 #include "src/Tensor/Tensor.h"
0128 #include "src/Tensor/TensorFixedSize.h"
0129 #include "src/Tensor/TensorMap.h"
0130 #include "src/Tensor/TensorRef.h"
0131 
0132 #include "src/Tensor/TensorIO.h"
0133 
0134 #include "../../../Eigen/src/Core/util/ReenableStupidWarnings.h"
0135 
0136 #endif  // EIGEN_HAS_CXX11
0137 //#endif // EIGEN_CXX11_TENSOR_MODULE