Make it compile without nvcc

This commit is contained in:
Gael Guennebaud 2013-02-21 12:51:58 +01:00
parent 5adcc6c7b4
commit 968f7591f8

View File

@ -57,6 +57,8 @@
#define EIGEN_NO_DEBUG
// All functions callable from CUDA code must be qualified with __device__
#define EIGEN_DEVICE_FUNC __host__ __device__
#else
#define EIGEN_DEVICE_FUNC
#endif
#ifndef EIGEN_DONT_VECTORIZE