Skip to content

sort_index and sort_by_key are not stable sorts on OpenCL #394

@shehzan10

Description

@shehzan10

We currently use Boost.Compute's sort_by_key API for sort_index and sort_by_by_key ArrayFire functions on the OpenCL backend.

As a consequence of Boost.Compute's sort_by_key not being a stable sort, the sort_index and sort_by_key tests fail on all OSs for the OpenCL backends. There is an issue created for this feature in Boost.Compute boostorg/compute#377.

For now, we shall disable the index checks for these tests while this issue remains open. This will allow the tests to pass successfully.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions