Daniel Arndt

Results 753 comments of Daniel Arndt

We are trying to record all memory allocations in `SharedAllocationRecord` so I wanted to check that first and came across leaking `InternalScratchBitset`, see https://github.com/kokkos/kokkos/pull/5300, and this weird entry. I have...

That looks as if you are trying to use the `master` branch instead of `develop`, see https://github.com/kokkos/kokkos/blob/d19aab9981a2c447e832a7b4eb7b16992328fb14/cmake/kokkos_test_cxx_std.cmake#L132 (master) vs. https://github.com/kokkos/kokkos/blob/d845b57307057c99b24628785a1a838b7848efb8/cmake/kokkos_test_cxx_std.cmake#L120 (develop).

I think we agree on introducing the functionality of `Kokkos::finalized`. We are mostly debating how `Kokkos::initialized` should behave.

I am between 1 and 2. In principle, I like 2 better but we could do 1 without deprecating `is_initialized` which is argument in favor of it for me.

To me, it looks like `tmp_src_type` must be constructed with a layout representing a contiguous View (like `LayoutRight` or `LayoutLeft` and not copying `src_type`'s layout (which is `LayoutStride` here).

IIRC, we discussed splitting the test in the discussion for https://github.com/kokkos/kokkos/pull/2986#issue-608603930 and decided against it to avoid `CMake` code duplication.

It appears that the problem is that `Kokkos`' `max` function is a better match than `Sacado::MP::max` and the test intents to use the latter one.

Sounds similar to what @maartenarnst is observing in https://github.com/trilinos/Trilinos/issues/10740#issuecomment-1180885529.