Skip to content

Conversation

@edwinsolisf
Copy link
Contributor

Fix for topk with half input. Added unsupported error when calling sort_index with half

Description

  • Is this a new feature or a bug fix? Bug fix
  • Potential impact on specific hardware, software or backends: OpenCL backend
  • New functions and their functionality: support for topk half
  • Can this PR be backported to older versions?
  • Future changes not implemented in this PR.

Fixes: #3675

Changes to Users

  • Additional options added to the build: None
  • What changes will existing users have to make to their code or build steps? None

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • Functions added to unified API
  • Functions documented

@edwinsolisf edwinsolisf merged commit a699cb9 into arrayfire:master Jul 15, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] sort_by_key with fp16 values result is incorrect

2 participants