mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Remove CXX11/ directory nesting for Tensor modules
libeigen/eigen!2199 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::Pair;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::ColMajor;
|
||||
using Eigen::Index;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
// clang-format off
|
||||
#include "main.h"
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
// clang-format on
|
||||
|
||||
using Eigen::internal::TensorBlockDescriptor;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
// clang-format off
|
||||
#include "main.h"
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
// clang-format on
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "main.h"
|
||||
#include "random_without_cast_overflow.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
using Eigen::Tensor;
|
||||
|
||||
static void test_simple_assign() {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
typedef Tensor<float, 1>::DimensionPair DimPair;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::DefaultDevice;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::DefaultDevice;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <ctime>
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
#include <iomanip>
|
||||
|
||||
using Eigen::array;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <map>
|
||||
|
||||
#include <Eigen/Dense>
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
template <typename TensorType>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "main.h"
|
||||
#include "OffByOneScalar.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "main.h"
|
||||
#include "OffByOneScalar.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
#include <stdint.h>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
static void test_empty_tensor() {
|
||||
Tensor<float, 2> source;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::ColMajor;
|
||||
using Eigen::RowMajor;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#include "main.h"
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::MatrixXf;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
template <typename DataType, int DataLayout, typename IndexType>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
struct Generator1D {
|
||||
Generator1D() {}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
static const float error_threshold = 1e-8f;
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
struct Generator1D {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "main.h"
|
||||
#include <complex>
|
||||
#include <cmath>
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
static const int DataLayout = ColMajor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
static void test_static_index_list() {
|
||||
Tensor<float, 4> tensor(2, 3, 5, 7);
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
void test_signed_32bit() {
|
||||
// Divide by one
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "main.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
template <typename Scalar, int rank, int Layout>
|
||||
struct test_tensor_ostream_impl {};
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
static void test_simple() {
|
||||
Tensor<float, 1, ColMajor> vec1(6);
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
#include <utility>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "main.h"
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
static void test_notification_single() {
|
||||
ThreadPool thread_pool(1);
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
using Eigen::TensorMap;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_SYCL_HALF_SUPPORT
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::SyclDevice;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
using Eigen::TensorMap;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
template <typename Scalar>
|
||||
static void test_default() {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
void test_gpu_random_uniform() {
|
||||
Tensor<float, 2> out(72, 97);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
template <typename DataType, int DataLayout, typename IndexType>
|
||||
static void test_sycl_random_uniform(const Eigen::SyclDevice& sycl_device) {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "main.h"
|
||||
#include <limits>
|
||||
#include <numeric>
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
template <typename Type, int DataLayout>
|
||||
static void test_full_reductions() {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
template <typename DataType, int DataLayout, typename IndexType>
|
||||
static void test_full_reductions_sum_sycl(const Eigen::SyclDevice& sycl_device) {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
template <typename DataType, int DataLayout, typename IndexType>
|
||||
static void test_simple_reverse(const Eigen::SyclDevice& sycl_device) {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
static void test_float_rounding() {
|
||||
Tensor<float, 2> ftensor(20, 30);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "main.h"
|
||||
#include <limits>
|
||||
#include <numeric>
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define EIGEN_USE_GPU
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
typedef Tensor<float, 1>::DimensionPair DimPair;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
typedef Tensor<float, 1>::DimensionPair DimPair;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <ctime>
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::RowMajor;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::SyclDevice;
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/CXX11/TensorSymmetry>
|
||||
#include <Eigen/Tensor>
|
||||
#include <Eigen/TensorSymmetry>
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "main.h"
|
||||
#include <iostream>
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::array;
|
||||
using Eigen::Tensor;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
#if EIGEN_COMP_MSVC || !defined(__SIZEOF_INT128__)
|
||||
#define EIGEN_NO_INT128
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "main.h"
|
||||
|
||||
#include <Eigen/CXX11/Tensor>
|
||||
#include <Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define EIGEN_USE_SYCL
|
||||
|
||||
#include "main.h"
|
||||
#include <unsupported/Eigen/CXX11/Tensor>
|
||||
#include <unsupported/Eigen/Tensor>
|
||||
|
||||
using Eigen::Tensor;
|
||||
static const int DataLayout = ColMajor;
|
||||
|
||||
Reference in New Issue
Block a user