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

Compatibility issues between Eigen 3.3.5 and CUDA 9.2.

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

I am using Ubuntu 16.04 and with CUDA 9.2 and Eigen 3.3.5.
I am trying to compile a project using both libraries, the project is
InfiniTAM (a 3d scanning software) with a slightly modified CmakeLists.txt to compile 2 more modules.

When compiling, I am encountering compatibility errors between Eigen and CUDA. With the help of Internet I’ve been able to solve a few, but there seems to be no end to it. So I would like to know:
Is it possible to run eigen 3.3.5 with CUDA 9.2?
Or are there previous versions of Eigen and CUDA that work better together? (I can’t use CUDA 8 because of my graphics card – a GTX 1050)

Regards,
Olof

-------------EDIT-------------

The latest error I am having trouble solving is the same as in this post. It is a problem with half operators that seems to be caused by CUDA:

/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(96): error: identifier "x" is undefined
/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(136): error: identifier "x" is undefined
/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(136): error: class "Eigen::half" has no member "x"
/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(274): error: class "__half" has no member "x"
/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(370): error: class "Eigen::half" has no member "x"
/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(385): error: class "Eigen::half" has no member "x"
/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(385): error: class "Eigen::half" has no member "x"
/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(569): error: class "Eigen::half" has no member "x"
/home/onilsson/DevRoot/Dependencies/Eigen/v3.3.5_lib/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(569): error: class "Eigen::half" has no member "x"


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]