Skip to content

[C++] Improve the performance of the binary round kernel #33833

@EpsilonPrime

Description

@EpsilonPrime

Describe the enhancement requested

The binary round kernel has some of the performance issues of the unary round kernel namely non-floating type arguments are first cast to double before implementation.

The other area where performance may be improved is in the handing of a scalar version of the number of significant digits argument (the second argument). The current implementation expects two arrays which may (depending on the engine) result in duplicating the data. Falling back to the unary version of round in such situations may be a potential solution to such a behavior.

Component(s)

C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions