mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
Removed unecesasry #include
This commit is contained in:
parent
f16ba2a630
commit
a6d875bac8
@ -15,12 +15,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
|
|
||||||
template <int Layout>
|
template <int Layout>
|
||||||
|
@ -16,12 +16,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
|
|
||||||
void test_cuda_conversion() {
|
void test_cuda_conversion() {
|
||||||
|
@ -14,12 +14,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
|
|
||||||
void test_cuda_nullary() {
|
void test_cuda_nullary() {
|
||||||
|
@ -14,12 +14,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
@ -17,11 +17,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
typedef Tensor<float, 1>::DimensionPair DimPair;
|
typedef Tensor<float, 1>::DimensionPair DimPair;
|
||||||
|
@ -15,12 +15,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
|
|
||||||
void test_cuda_nullary() {
|
void test_cuda_nullary() {
|
||||||
|
@ -16,11 +16,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
using Eigen::RowMajor;
|
using Eigen::RowMajor;
|
||||||
|
@ -16,11 +16,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
|
|
||||||
|
@ -16,12 +16,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <Eigen/CXX11/Tensor>
|
#include <Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
void test_cuda_random_uniform()
|
void test_cuda_random_uniform()
|
||||||
{
|
{
|
||||||
|
@ -15,12 +15,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
template<typename Type, int DataLayout>
|
template<typename Type, int DataLayout>
|
||||||
static void test_full_reductions() {
|
static void test_full_reductions() {
|
||||||
|
@ -16,11 +16,6 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/CXX11/Tensor>
|
#include <unsupported/Eigen/CXX11/Tensor>
|
||||||
|
|
||||||
// The EIGEN_CUDACC_VER macro is provided by
|
|
||||||
// unsupported/Eigen/CXX11/Tensor included above
|
|
||||||
#if defined EIGEN_CUDACC_VER && EIGEN_CUDACC_VER >= 70500
|
|
||||||
#include <cuda_fp16.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using Eigen::Tensor;
|
using Eigen::Tensor;
|
||||||
typedef Tensor<float, 1>::DimensionPair DimPair;
|
typedef Tensor<float, 1>::DimensionPair DimPair;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user