Re: [eigen] PATCH: Guard CUDA includes with EIGEN_CUDACC

[ Thread Index | Date Index | More Archives ]

  This is still a problem in top of master. CPU half float support is provided by code in Core/arch/GPU. 


On Wed, Jul 18, 2018 at 4:56 AM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:

sorry for late reply. The handling of CUDA has been significantly changed recently in the default branch. If there is still compilation issues, please post here the exact compilation error so that we can properly fix them. For instance, there should be no problem in including Half.h and the likes without CUDA.


On Fri, Jun 15, 2018 at 6:14 AM Anush Elangovan <anush@xxxxxxx> wrote:
Please find attached a patch that prevents compiling Eigen on an embedded platform because some CUDA headers were not guarded and collided with native types. 

PS: Posting here because I gave up trying to figure out bitbucket's UI and hg's issues with submitting a pull request. The patch is also on github at


Mail converted by MHonArc 2.6.19+