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

(question) MatMin instead of MatMul? #55

Closed
TheNewSound opened this issue Aug 6, 2019 · 5 comments
Closed

(question) MatMin instead of MatMul? #55

TheNewSound opened this issue Aug 6, 2019 · 5 comments

Comments

@TheNewSound
Copy link

Hi,

I'm relatively new to CUDA / Parallel programming and wondering if cutlass is the right library for me.

I want to create an algorithm which does a simple operation on a matrix A and its transpose B.

It's exactly the same as matrix-matrix multiplication, but not using the multiplying-operation on elements, but the min() operation on elements.

Is cutlass the right library for this? Can someone point me into the right direction?

@galv
Copy link

galv commented Aug 6, 2019

I'm not a CUTLASS developer, but, yes probably CUTLASS will work for your needs.

You'll need to implement a struct that uses min instead of multiplication for this template parameter to GemmConfig:

typename MultiplyAdd_,

@TheNewSound
Copy link
Author

Thanks!! I actually just managed to rewrite my formula's to use Matrix Multiplication 🤓, which is more widely used (cuBLAS, upcoming NVIDIA's Tensor Cores etc.)

@TheNewSound
Copy link
Author

With the new Tensor Cores upcoming, do I understand correctly that these Tensor cores have MultiplyAdd operations hardware-coded in them? Or is it also possible to use my Min operation on these new Tensor Cores (via cutlass?)

@galv
Copy link

galv commented Aug 9, 2019 via email

@d-k-b
Copy link
Collaborator

d-k-b commented Apr 8, 2021

Closing as not an issue. Please use the Discussions pages for further community input.

@d-k-b d-k-b closed this as completed Apr 8, 2021
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

3 participants