This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Eigen in Cuda Kernel

Tags: None
(comma "," separated)
simonred
Registered Member
Posts
1
Karma
0

Eigen in Cuda Kernel

Sat Aug 02, 2014 12:36 pm
Hi All,
I am trying to compile Eigen for CUDA using nvcc because I need to compute SVD and Eigendecompositions of small matrices. Unfortunately when I compile Eigen I get the following list of errors and warnings:



c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Core
/util/Meta.h(103): error: identifier "__FLT_EPSILON__" is undefined

c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Core
/util/Meta.h(108): error: identifier "__DBL_EPSILON__" is undefined

c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Core
/util/Memory.h(92): warning: integer conversion resulted in a change of sign

c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Core
/Block.h(105): error: "operator=" has already been declared in the current scope

detected during instantiation of class "Eigen::Block<XprType, BlockRow
s, BlockCols, InnerPanel> [with XprType=VectorType, BlockRows=<expression>, Bloc
kCols=<expression>, InnerPanel=false]"
c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Core
/VectorBlock.h(58): here

c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Core
/Ref.h(123): error: "operator=" has already been declared in the current scope
detected during instantiation of class "Eigen::RefBase<Derived> [with
Derived=Eigen::Ref<PlainObjectType, Options, StrideType>]"
(184): here

c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Core
/products/Parallelizer.h(20): warning: variable "m_maxThreads" was set but never
used

c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Core
/ArrayWrapper.h(133): warning: __declspec attributes ignored

c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Geom
etry/RotationBase.h(76): error: function template "Eigen::operator*(const Eigen:
:EigenBase<OtherDerived> &, const Eigen::Quaternion<_Scalar, _Options> &)" has a
lready been defined
detected during:
instantiation of class "Eigen::RotationBase<Derived, _Dim> [with Der
ived=Eigen::Quaternion<_Scalar, _Options>, _Dim=3]"
c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Geom
etry/Quaternion.h(35): here
instantiation of class "Eigen::QuaternionBase<Derived> [with Derived
=Eigen::Quaternion<_Scalar, _Options>]"
c:\users\crocis.d\documents\matlab\edge filter\testing\eigen-nvcc\eigen\src/Geom
etry/Quaternion.h(236): here

5 errors detected in the compilation of "C:/Users/crocis.D/AppData/Local/Temp/tm
pxft_00001b34_00000000-8_cudatest.cpp1.ii".




Simon


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]