Merge group related improvements for convolution operations - #3439
Merge group related improvements for convolution operations#3439zsotakal wants to merge 10 commits into
Conversation
18ead08 to
cf8a4d4
Compare
706ca76 to
6fe2eaa
Compare
| } | ||
| }; | ||
|
|
||
| /** |
There was a problem hiding this comment.
Is there a way to avoid duplication with the struct above? Afaik, these functions are only used in two places, so I would recommend to always call the MG variant and to have a defalut value (and ignore the GStep return value) to avoid duplicating the rest of the logic
There was a problem hiding this comment.
I did the unification for the generator helper function which was a low hanging fruit. With the structure I am not sure if its a good idea. It can be generalized but since the dimensions don't match it is slightly more complicated. For the time being I would leave it like this since I don't see the long term strategy with it. If this is the new method a more general infrastructure will be needed to support all convolution varaints, if that is not the case having this dirty variant seems fine to me.
@bartekxk do you have an opinion in this?
bdc37dd to
73ecc3a
Compare
73ecc3a to
f7025f6
Compare
|
Hi @zsotakal, have you coordinated these changes with the MIOpen team? It looks like they are breaking the MIOpen tests in TheRock CI, which is specifically meant to ensure we don't break the cross-library integration. |
|
Imported to ROCm/rocm-libraries |
A collection of several depthwise convolution related improvements.
Proposed changes
The list of todos came from the investigation of 2d convolution performance on fp32 data input. It turns out CK has limited support for merged group convolutions. The purpose of this PR is to add some of the missing functionality.
Checklist
Please put an
xinto the boxes that apply. You can also fill these out after creating the PR. If you're not sure, please don't hesitate to ask.clang-formaton all changed filesDiscussion
If this is a relatively large or complex change, feel free to start a discussion by explaining why you chose the solution you did and what alternatives you considered