Assembles a CSR matrix with Kokkos API.
