Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA] Support different index/stride types #387

Open
cliffburdick opened this issue Mar 8, 2023 · 0 comments
Open

[FEA] Support different index/stride types #387

cliffburdick opened this issue Mar 8, 2023 · 0 comments

Comments

@cliffburdick
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant