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

[HIPIFY][#584][DNN][MIOpen][refactor] cuDNN -> MIOpen - Part 8 #821

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

emankov
Copy link
Collaborator

@emankov emankov commented Apr 1, 2023

  • [refactor] Introduced ArgCastStruct with additional fields isToRoc and isToMIOpen (both are false by default) for the correct argument casting in roc* and miopen* functions
  • Removed the penultimate (5th) arg cudnnConvolutionFwdAlgo_t algo from the miopenConvolutionForwardGetWorkSpaceSize function call after hipification of cudnnGetConvolutionForwardWorkspaceSize due to the absence of that argument in miopenConvolutionForwardGetWorkSpaceSize; no warning is emitted
  • Updated the synthetic test cudnn2miopen.cu accordingly

+ [refactor] Introduced `ArgCastStruct` with additional fields `isToRoc` and `isToMIOpen` (both are `false` by default) for the correct argument casting in `roc*` and `miopen*` functions
+ Removed the penultimate (5th) arg `cudnnConvolutionFwdAlgo_t algo` from the `miopenConvolutionForwardGetWorkSpaceSize` function call after hipification of `cudnnGetConvolutionForwardWorkspaceSize` due to the absence of that argument in `miopenConvolutionForwardGetWorkSpaceSize`; no warning is emitted
+ Updated the synthetic test `cudnn2miopen.cu` accordingly
@emankov emankov added fix It fixes bug DNN DNN-related MIOpen refactor labels Apr 1, 2023
@emankov emankov requested a review from searlmc1 April 1, 2023 14:10
@emankov emankov self-assigned this Apr 1, 2023
@emankov emankov merged commit 31d10de into ROCm:amd-staging Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNN DNN-related fix It fixes bug MIOpen refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant