Skip to content

Kokkos: fix Sort bug with empty bins

James Willenbring requested to merge kokkos-sort-bug into develop

Created by: ibaned

@trilinos/kokkos

Description

This fixes a bug in Kokkos where an access would be made out of bounds when sorting with empty bins.

Motivation and Context

This bug was causing test failures in the new ATDM builds with KOKKOS_ENABLE_DEBUG=ON, pushing the fix directly to Trilinos will help fix some of those failures.

Related Issues

How Has This Been Tested?

A custom build with KOKKOS_ENABLE_DEBUG passes the KokkosKernels test that used to fail.

Merge request reports