Skip to content

[Optimization]: Avoid hashing in operator kernel dispatcher function tables #178

Description

@zacharyvincze

Description

Use something other than unordered maps for organizing kernel calls in operator dispatchers. The hashing required for these maps in the operators' kernel dispatching tables adds unncessary latency which could be noticeable on especially fast running operators and small jobs.

Requirements

  • Remove unordered maps from all existing operators. Switch to something correct that doesn't require hashing at any point.
  • Ensure proper validation with new implementation. Tests should pass and unsupported parameter/type combinations must return an error to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions