Damien L-G
Damien L-G
Correct, currently you would need to do ```C++ Kokkos::Experimental::OffsetView v(Kokkos::View(Kokkos::ViewAllocateWithoutInitializing("name"), 6), {-1}); ```
Actually you can do ```C++ using offset_view = Kokkos::Experimental::OffsetView; using array_layout = offset_view::traits::array_layout; offset_view v(Kokkos::view_alloc("name"), array_layout{6}, {-1}); ```
Please try applying the changes from #5321
I was able to reproduce with CUDA so it is not a backend-specific issue ```C++ #include #include #include #include #include int main(int argc, char* argv[]) { Kokkos::ScopeGuard g(argc, argv); long...
To reproduce on the host ```C++ #include #include #include #include #include int main(int argc, char* argv[]) { Kokkos::ScopeGuard g(argc, argv); long long ah[9] = {-9223372036854775807 - 1, 0, 3, 2,...
Issue is there (signed integer overflow) https://github.com/kokkos/kokkos/blob/e5cbef5778d703d7b90186f28b40bbf1b22b4843/algorithms/src/Kokkos_Sort.hpp#L632
Quick hack with Christian ```diff diff --git a/algorithms/src/Kokkos_Sort.hpp b/algorithms/src/Kokkos_Sort.hpp index 95c191486..99817a54c 100644 --- a/algorithms/src/Kokkos_Sort.hpp +++ b/algorithms/src/Kokkos_Sort.hpp @@ -452,7 +452,7 @@ template struct BinOp1D { int max_bins_; double mul_; - typename...
I am strongly in favor of Option 2 with naming the new facility `Kokkos::initialized` and `Kokkos::finalized` and marking `Kokkos::is_initialized` as deprecated. I think it is easy to document and least...
Team decision was option 1, pure addition of `is_finalized()` no change in behavior for `is_initialized`.
```diff diff --git a/packages/tpetra/core/src/Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp b/packages/tpetra/core/src/Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp index 161085a2a99..ca7ad2fe45d 100644 --- a/packages/tpetra/core/src/Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp +++ b/packages/tpetra/core/src/Tpetra_Details_getDiagCopyWithoutOffsets_decl.hpp @@ -188,7 +188,7 @@ getDiagCopyWithoutOffsets (const DiagType& D, "DiagType must be a Kokkos::View."); static_assert (static_cast (DiagType::rank) == 1,...