Skip to content

Conversation

@verstatx
Copy link
Contributor

Description

Bug fix for reduce_by_key_common where u8 would run reduce_key for u8, and then f16 but with the u8 arrays.

Affects af::minByKey and af::maxByKey, which would throw/segfault for u8 depending on backend.

The ReduceByKey tests related to this bug were updated so that they run for each supported type.

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass

This fixes minByKey/maxByKey for u8.
@melonakos melonakos added this to the 3.10 milestone Feb 5, 2025
@christophe-murphy christophe-murphy self-requested a review February 17, 2025 20:28
@christophe-murphy christophe-murphy merged commit 553c38d into arrayfire:master Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants