mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +08:00
Removed unecesasry #include
This commit is contained in:
parent
f16ba2a630
commit
a6d875bac8
@ -15,12 +15,6 @@
|
||||
#include "main.h"
|
||||
#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;
|
||||
|
||||
template <int Layout>
|
||||
|
@ -16,12 +16,6 @@
|
||||
#include "main.h"
|
||||
#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;
|
||||
|
||||
void test_cuda_conversion() {
|
||||
|
@ -14,12 +14,6 @@
|
||||
#include "main.h"
|
||||
#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;
|
||||
|
||||
void test_cuda_nullary() {
|
||||
|
@ -14,12 +14,6 @@
|
||||
#include "main.h"
|
||||
#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;
|
||||
|
||||
template<typename T>
|
||||
|
@ -17,11 +17,6 @@
|
||||
#include "main.h"
|
||||
#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;
|
||||
typedef Tensor<float, 1>::DimensionPair DimPair;
|
||||
|
@ -15,12 +15,6 @@
|
||||
#include "main.h"
|
||||
#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;
|
||||
|
||||
void test_cuda_nullary() {
|
||||
|
@ -16,11 +16,6 @@
|
||||
#include "main.h"
|
||||
#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::RowMajor;
|
||||
|
@ -16,11 +16,6 @@
|
||||
#include "main.h"
|
||||
#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;
|
||||
|
||||
|
@ -16,12 +16,6 @@
|
||||
#include "main.h"
|
||||
#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()
|
||||
{
|
||||
|
@ -15,12 +15,6 @@
|
||||
#include "main.h"
|
||||
#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>
|
||||
static void test_full_reductions() {
|
||||
|
@ -16,11 +16,6 @@
|
||||
#include "main.h"
|
||||
#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;
|
||||
typedef Tensor<float, 1>::DimensionPair DimPair;
|
||||
|
Loading…
Reference in New Issue
Block a user