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
The error message is:
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