#ifdef EIGEN_WARNINGS_DISABLED
#undef EIGEN_WARNINGS_DISABLED

#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
  #ifdef _MSC_VER
    #pragma warning( pop )
  #elif defined __INTEL_COMPILER
    #pragma warning pop
  #elif defined __clang__
    #pragma clang diagnostic pop
  #elif defined __NVCC__
    #pragma diag_warning code_is_unreachable
    #pragma diag_warning initialization_not_reachable
  #endif
#endif

#endif // EIGEN_WARNINGS_DISABLED

#ifdef EIGEN_WARNINGS_DISABLED
#undef EIGEN_WARNINGS_DISABLED

#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
  #ifdef _MSC_VER
    #pragma warning( pop )
  #elif defined __INTEL_COMPILER
    #pragma warning pop
  #elif defined __clang__
    #pragma clang diagnostic pop
  #elif defined __NVCC__
    #pragma diag_default code_is_unreachable
    #pragma diag_default initialization_not_reachable
  #endif
#endif

#endif // EIGEN_WARNINGS_DISABLED

Revert the nvcc messages to their default severity instead of the forcing them to be warnings
Revert the nvcc messages to their default severity instead of the forcing them to be warnings
