Kokkos::sort fails for view with all the same values #422
Labels
Bug
Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)
Milestone
Kokkos sort seems to be failing with messages
':0: : block: [0,0,0], thread: [0,93,0] Assertion
View bounds error
failed.'when it is run with a view which has its all values exactly same. A simple example is below.
Also, the array in the below example somehow triggering a similar error in sort function. Errors occur with openmp as well, if the second argument of sort is provided as true.
The text was updated successfully, but these errors were encountered: