Skip to content

[FEA] Support different index/stride types #387

Description

@cliffburdick

index_t is currently used for both index and stride computations, and users select which one they want at compile time. 64b stride/index is the default. In most cases users would never need a 64b index, and it's wasted instructions using them. Most CUDA libraries don't even support 64b indexes and only strides anyways, so it doesn't make sense to allow this.

This feature is to create a second type offset_t that is used for stride calculations only, and the user can select which they want to use.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions