"/var/jenkins/workspace/Kokkos_PR-7226/tpls/mdspan/include/mdspan/../experimental/__p2642_bits/layout_padded.hpp", line 64: warning: statement is unreachable [code_is_unreachable]
return 0;
^
detected during:
instantiation of class "Kokkos::Experimental::detail::static_array_type_for_padded_extent<_PaddingValue, _Extents, _ExtentToPadIdx, _Rank, Enabled> [with _PaddingValue=18446744073709551615UL, _Extents=Kokkos::extents<std::size_t, 18446744073709551615UL, 18446744073709551615UL>, _ExtentToPadIdx=0UL, _Rank=2UL, Enabled=void]" at line 95
instantiation of class "Kokkos::Experimental::detail::padded_extent<_PaddingValue, _Extents, _ExtentToPadIdx> [with _PaddingValue=18446744073709551615UL, _Extents=Kokkos::extents<std::size_t, 18446744073709551615UL, 18446744073709551615UL>, _ExtentToPadIdx=0UL]" at line 174
instantiation of class "Kokkos::Experimental::layout_left_padded<padding_value>::mapping<Extents> [with padding_value=18446744073709551615UL, Extents=Kokkos::extents<std::size_t, 18446744073709551615UL, 18446744073709551615UL>]" at line 883 of "/usr/include/c++/9/type_traits"
instantiation of class "std::is_constructible<_Tp, _Args...> [with _Tp=Kokkos::Experimental::layout_left_padded<18446744073709551615UL>::mapping<Kokkos::extents<std::size_t, 18446744073709551615UL, 18446744073709551615UL>>, _Args=<Kokkos::extents<std::size_t, 18446744073709551615UL, 18446744073709551615UL>>]" at line 2912 of "/usr/include/c++/9/type_traits"
instantiation of "const bool std::is_constructible_v [with _Tp=Kokkos::Experimental::layout_left_padded<18446744073709551615UL>::mapping<Kokkos::extents<std::size_t, 18446744073709551615UL, 18446744073709551615UL>>, _Args=<Kokkos::extents<std::size_t, 18446744073709551615UL, 18446744073709551615UL>>]" at line 118 of "/var/jenkins/workspace/Kokkos_PR-7226/tpls/mdspan/include/mdspan/../experimental/__p0009_bits/mdspan.hpp"
instantiation of class "Kokkos::mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> [with ElementType=int, Extents=Kokkos::extents<std::size_t, 18446744073709551615UL, 18446744073709551615UL>, LayoutPolicy=Kokkos::Experimental::layout_left_padded<18446744073709551615UL>, AccessorPolicy=Kokkos::Impl::SpaceAwareAccessor<Kokkos::CudaSpace::memory_space, Kokkos::default_accessor<int>>]" at line 1109 of "/var/jenkins/workspace/Kokkos_PR-7226/core/src/View/Kokkos_ViewLegacy.hpp"
instantiation of "Kokkos::View<DataType, Properties...>::View(const Kokkos::Impl::ViewCtorProp<P...> &, std::enable_if_t<<expression>, size_t>, size_t, size_t, size_t, size_t, size_t, size_t, size_t) [with DataType=int **, Properties=<Kokkos::Cuda>, P=<Kokkos::Impl::WithoutInitializing_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>]" at line 49 of "/var/jenkins/workspace/Kokkos_PR-7226/core/unit_test/TestTeam.hpp"
instantiation of "Test::_GLOBAL__N__31d3ebdc_22_TestCuda_TeamBasic_cpp_a92a69dc::TestTeamPolicy<ExecSpace, ScheduleType>::TestTeamPolicy(size_t) [with ExecSpace=Kokkos::Cuda, ScheduleType=Kokkos::Schedule<Kokkos::Static>]" at line 141 of "/var/jenkins/workspace/Kokkos_PR-7226/core/unit_test/TestTeam.hpp"
instantiation of "void Test::_GLOBAL__N__31d3ebdc_22_TestCuda_TeamBasic_cpp_a92a69dc::TestTeamPolicy<ExecSpace, ScheduleType>::test_for(size_t) [with ExecSpace=Kokkos::Cuda, ScheduleType=Kokkos::Schedule<Kokkos::Static>]" at line 24 of "/var/jenkins/workspace/Kokkos_PR-7226/core/unit_test/TestTeamBasic.hpp"
Remark: individual warnings can be suppressed with "--diag_suppress <warning-name>"
These empty returns trigger
code_is_unreachable
warning fornvc++
compiler. We want to incorporate changes in https://github.com/kokkos/kokkos/pull/7250.