Skip to content

Make Allen compatible with CUDA 11.7.

CUDA 11.7 complains that StructToTuple's std::make_tuple is a __host__ function. This MR uses std::tuple instead.

Since previous versions of CUDA seemingly don't like std::tuple, the previous code is also generated for CUDA 11.6 or older.

For completeness, the error, as visible only in CUDA 11.6 or older:

code_generation/sequences/include/StructToTuple.cuh(174): error: more than one instance of constructor "std::tuple" matches the argument list:
            function template "std::tuple<_Elements...> tuple()" (declared implicitly)
            function template "std::tuple<_Elements...> tuple()" (declared implicitly)
          detected during instantiation of type "ArgumentReferences<kalman_filter::Parameters>"
../device/kalman/ParKalman/include/ParKalmanFilter.cuh(143): here
Edited by Daniel Campora Perez

Merge request reports