You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

120 lines
3.3 KiB

  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. //#ifndef EIGEN_CXX11_TENSOR_MODULE
  11. //#define EIGEN_CXX11_TENSOR_MODULE
  12. #include "Core"
  13. #include <Eigen/src/Core/util/DisableStupidWarnings.h>
  14. /** \defgroup CXX11_Tensor_Module Tensor Module
  15. *
  16. * This module provides a Tensor class for storing arbitrarily indexed
  17. * objects.
  18. *
  19. * \code
  20. * #include <Eigen/CXX11/Tensor>
  21. * \endcode
  22. */
  23. #include <cstddef>
  24. #include <cstring>
  25. #include <stdint.h>
  26. #if __cplusplus > 199711
  27. #include <random>
  28. #endif
  29. #ifdef _WIN32
  30. #include <winbase.h>
  31. #elif defined(__APPLE__)
  32. #include <mach/mach_time.h>
  33. #else
  34. #include <time.h>
  35. #endif
  36. #ifdef EIGEN_USE_THREADS
  37. #include <condition_variable>
  38. #include <deque>
  39. #include <mutex>
  40. #include <thread>
  41. #endif
  42. #ifdef EIGEN_USE_GPU
  43. #include <cuda_runtime.h>
  44. #if defined(__CUDACC__)
  45. #include <curand_kernel.h>
  46. #endif
  47. #endif
  48. #include "src/Tensor/TensorMacros.h"
  49. #include "src/Tensor/TensorForwardDeclarations.h"
  50. #include "src/Tensor/TensorMeta.h"
  51. #include "src/Tensor/TensorDeviceDefault.h"
  52. #include "src/Tensor/TensorDeviceThreadPool.h"
  53. #include "src/Tensor/TensorDeviceCuda.h"
  54. #include "src/Tensor/TensorIndexList.h"
  55. #include "src/Tensor/TensorDimensionList.h"
  56. #include "src/Tensor/TensorDimensions.h"
  57. #include "src/Tensor/TensorInitializer.h"
  58. #include "src/Tensor/TensorTraits.h"
  59. #include "src/Tensor/TensorFunctors.h"
  60. #include "src/Tensor/TensorUInt128.h"
  61. #include "src/Tensor/TensorIntDiv.h"
  62. #include "src/Tensor/TensorBase.h"
  63. #include "src/Tensor/TensorEvaluator.h"
  64. #include "src/Tensor/TensorExpr.h"
  65. #include "src/Tensor/TensorReduction.h"
  66. #include "src/Tensor/TensorReductionCuda.h"
  67. #include "src/Tensor/TensorArgMax.h"
  68. #include "src/Tensor/TensorConcatenation.h"
  69. #include "src/Tensor/TensorContraction.h"
  70. #include "src/Tensor/TensorContractionThreadPool.h"
  71. #include "src/Tensor/TensorContractionCuda.h"
  72. #include "src/Tensor/TensorConversion.h"
  73. #include "src/Tensor/TensorConvolution.h"
  74. #include "src/Tensor/TensorFFT.h"
  75. #include "src/Tensor/TensorPatch.h"
  76. #include "src/Tensor/TensorImagePatch.h"
  77. #include "src/Tensor/TensorVolumePatch.h"
  78. #include "src/Tensor/TensorBroadcasting.h"
  79. #include "src/Tensor/TensorChipping.h"
  80. #include "src/Tensor/TensorInflation.h"
  81. #include "src/Tensor/TensorLayoutSwap.h"
  82. #include "src/Tensor/TensorMorphing.h"
  83. #include "src/Tensor/TensorPadding.h"
  84. #include "src/Tensor/TensorReverse.h"
  85. #include "src/Tensor/TensorShuffling.h"
  86. #include "src/Tensor/TensorStriding.h"
  87. #include "src/Tensor/TensorCustomOp.h"
  88. #include "src/Tensor/TensorEvalTo.h"
  89. #include "src/Tensor/TensorForcedEval.h"
  90. #include "src/Tensor/TensorGenerator.h"
  91. #include "src/Tensor/TensorAssign.h"
  92. #include "src/Tensor/TensorExecutor.h"
  93. #include "src/Tensor/TensorDevice.h"
  94. #include "src/Tensor/TensorStorage.h"
  95. #include "src/Tensor/Tensor.h"
  96. #include "src/Tensor/TensorFixedSize.h"
  97. #include "src/Tensor/TensorMap.h"
  98. #include "src/Tensor/TensorRef.h"
  99. #include "src/Tensor/TensorIO.h"
  100. #include <Eigen/src/Core/util/ReenableStupidWarnings.h>
  101. //#endif // EIGEN_CXX11_TENSOR_MODULE