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

use tensor cores #2

Open
MustafaFayez opened this issue Aug 11, 2023 · 2 comments
Open

use tensor cores #2

MustafaFayez opened this issue Aug 11, 2023 · 2 comments

Comments

@MustafaFayez
Copy link

Great repo! I learned a lot from it and the blog, thank you!

I was wondering if there is an easy way to rewrite the kernels to use tensor cores in volta and above archs.

Thanks.

@siboehm
Copy link
Owner

siboehm commented Aug 16, 2023

Tbh I'm not sure. I was wanting to give this a try at some point. The hierarchy of looping in this repo is largely taken from cutlass docs, which also supports tensor cores, so I assume the overall hierarchy would stay more or less the same.

@MustafaFayez
Copy link
Author

Sorry, somehow I missed your comment, yes, I looked at the cutlass implementation and it is similar to yours.
I like yours because it teaches beginners like me to learn how to optimize gemms step by step. I will keep following this repo in case you decide to implement the TC version later in the future.

I am also thinking about doing it myself, will comment here if I did.

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

2 participants