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

Epilogue with RELU #86

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

aacostadiaz
Copy link
Collaborator

This PR adds the EVT for relu.

@aacostadiaz aacostadiaz force-pushed the intel-relu branch 2 times, most recently from 3c08963 to 31434ee Compare June 21, 2024 09:22
fusion::LinearCombination<ElementOutput_, ElementCompute_, ElementSource_, ElementScalar_, RoundStyle_>,
CtaTileShapeMNK_,
EpilogueTile_
> : Sm90LinearCombination<typename cutlass::detail::get_unpacked_element_type<ElementOutput_>::type, ElementCompute_, ElementSource_, ElementScalar_, RoundStyle_> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this Sm90?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the name of the fusion operator for linear combination in Cutlass 3. Unfortunately, that's the naming convention used for almost all the visitor fusions in Cutlass 3, even though most of them are generic and can be used on other GPUs.

If, for whatever reason, we need a linear combination that is specific for Intel PVC, we can just replace Sm90LinearCombination with the specific implementation (same apply for all the visitor fusions).

@aacostadiaz aacostadiaz added the incremental Incremental changes label Jun 25, 2024
@rolandschulz
Copy link
Collaborator

Could be useful to post the compare link for these incremental PRs. In this case: muhammad-tanvir-1211/cutlass-fork@intel-epilogue...aacostadiaz:cutlass-fork:intel-relu

@aacostadiaz aacostadiaz force-pushed the intel-relu branch 3 times, most recently from 1a47f2d to c361ed1 Compare July 15, 2024 16:57
@aacostadiaz aacostadiaz removed the incremental Incremental changes label Jul 15, 2024
@aacostadiaz aacostadiaz merged commit fae9b2e into codeplaysoftware:sycl-develop Jul 16, 2024
4 checks passed
aacostadiaz added a commit to aacostadiaz/cutlass-fork that referenced this pull request Aug 6, 2024
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

Successfully merging this pull request may close these issues.

3 participants