Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #1324

Compilation error(s) when compiling 3.3rc1 with CUDA 8 on Windows

Submitted by Avi Ginsburg

Assigned to Nobody

Link to original bugzilla bug (#1324)
Version: 3.3 (current stable)
Operating system: Windows

Description

I was excited when I saw that CUDA 7.5 (with Visual Studio 2013/15) compiled Eigen 3.3rc1 w/o errors (just a bunch of warnings). When testing with CUDA 8.0 and VS2015 my hopes were wiped out. It seems that some of the errors from bug #735 are back. I get

eigen\src/Core/Ref.h(89): error : "operator=" has already been declared in the current scope
eigen\src/Core/Block.h(111): error : "operator=" has already been declared in the current scope

when compiling

// kernel.cu
#include "Eigen3.3rc1/Eigen/Core"

with VS2015 I get two errors:

eigen3.3rc1\eigen\src/Core/Ref.h(89): 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>]"
(191): here

c:\include\eigen3.3rc1\eigen\src/Core/Block.h(111): 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:\include\eigen3.3rc1\eigen\src/Core/VectorBlock.h(57): here

Compiling the same with VS2013 (CUDA 8) does not result in these errors (works fine).

Blocking

#558 (closed)

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking