Skip to content

CUDA part fails (Typeinfo for ... undefined in device code) #31

Description

@tdd11235813

The error message is:

/usr/include/boost/mpl/for_each.hpp(78): error: identifier "Typeinfo for ::mpl_::int_<(int)1> " is undefined in device code

Tested with: gcc-6+ and Boost 1.65.1, 1.66.0, 1.69.0 and CUDA 9.0+ (which requires Boost 1.65.1+).

Older versions (gcc, boost, cuda) produced different errors, but I would prefer to work on with CUDA 9+ and Boost 1.65.1+.

The line in

# test/testWrappers.cpp
    using SliceViewArgs = boost::mpl::list<int_<0>, int_<1>, int_<2>>;                                                                                                                                                                                        
# if you remove the last two arguments it will work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions