aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-08-29 11:06:08 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-08-29 11:06:08 +0200
commit6cd7b9ea6b401d84da5114041321ef388dc92092 (patch)
treed994a83aee8505b974da9988fddff014a877a7f6 /unsupported
parent8f4b4ad5fb0979abb4ab40b7abae0308bc5cfb61 (diff)
Fix compilation with cuda 8
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/test/cxx11_tensor_of_float16_cuda.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_of_float16_cuda.cu b/unsupported/test/cxx11_tensor_of_float16_cuda.cu
index 853b8d249..a6375d34a 100644
--- a/unsupported/test/cxx11_tensor_of_float16_cuda.cu
+++ b/unsupported/test/cxx11_tensor_of_float16_cuda.cu
@@ -13,7 +13,7 @@
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
#define EIGEN_USE_GPU
-
+#include <cuda_fp16.h>
#include "main.h"
#include <unsupported/Eigen/CXX11/Tensor>