Skip to content

[Question][Feature Request] Provides dispatch primitives based on dtypes. #202

Description

@oraluben

PyTorch's AT_DISPATCH_FLOATING_TYPES_AND_HALF (and similar ops) are very helpful when implementing kernel for multiple dtypes, flash-infer also implement DISPATCH_DLPACK_*.

It would be great if tvm-ffi could provide those utils.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions