[HIPIFY][#830][feature] Function call transformation type "move arg from place X to place Y" #846
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[feature]
1 <-> 2
there should be two moves:1->2
and2->1
; the order doesn't matter[IMP]
should be replaced with:
That means that two args starting from 1st (1st and 2nd) will be moved to the end of the function call in the same order in a single replacement step
1 -> 9
and2->9
are order-dependent, and argument1
at place9
will be rewritten by argument2
or vice versa, whereas both are needed to be moved at place9
[MIOpen][fix]
cudnnSoftmaxForward
,cudnnSoftmaxBackward
,cudnnConvolutionForward
,cudnnConvolutionBackwardData
,cudnnRNNBackwardWeights
, andcudnnGetConvolutionForwardWorkspaceSize
,cudnnGetConvolutionBackwardDataWorkspaceSize
cudnn2miopen.cu
accordingly