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

Is that possible to do operations other than element-wise operations in epilogue? #35

Closed
daadaada opened this issue Nov 13, 2018 · 1 comment

Comments

@daadaada
Copy link

daadaada commented Nov 13, 2018

Hi all,

I want to transform the output of matrix multiplication, but the transformation is not about element-wise operation. Actually, I want to do a transformation, which is based on a small region of matrix multiplication result. For example, I want to calculate the average of all 2x2 tiles in matrix multiplication result, and write the average number to the corresponding tile region.

And, if I want to do something like above before matrix multiplication, how can I solve this with CUTLASS (or is that possible/suitable to do this with CUTLASS)?

Thanks!

@daadaada
Copy link
Author

Just want to show you what I want to do:

If the matrix multiplication result is:
1 2 3 4
2 3 4 5
2 3 4 5
4 5 6 7

I want to get:
2 2 4 4
2 2 4 4
3.5 3.5 5.5 5.5
3.5 3.5 5.5 5.5

@daadaada daadaada closed this as completed Mar 7, 2019
This issue was closed.
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