-
Notifications
You must be signed in to change notification settings - Fork 78
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][feature] Add a new function call transformation type "additional non-const arg" #837
Labels
feature
Feature request or implementation
Comments
emankov
added a commit
to emankov/HIPIFY
that referenced
this issue
Apr 13, 2023
… functions - partially + Continued supporting hipification to MIOpen based on `miopen.h` + Updated the synthetic test `cudnn2miopen.cu` accordingly [ToDo] + [feature][ROCm#837] Add a new function call transformation type "additional non-const arg" + Update hipification of function `cudnnGetRNNDescriptor_v6` based on implementation of ROCm#837
emankov
added a commit
to emankov/HIPIFY
that referenced
this issue
Apr 16, 2023
… Loss functions + Finished with RNN functions + Continued supporting hipification to MIOpen based on `miopen.h` + Updated the synthetic test `cudnn2miopen.cu` accordingly [ToDo] + [ROCm#837] for miopenGetRNNDescriptor_V2, miopenSetRNNDescriptor_V2, miopenGetCTCLossDescriptor, and miopenSetCTCLossDescriptor
emankov
added a commit
to emankov/HIPIFY
that referenced
this issue
Apr 17, 2023
…pout functions + Continued supporting hipification to MIOpen based on `miopen.h` + Updated the synthetic test `cudnn2miopen.cu` accordingly [ToDo] + [ROCm#837] for miopenGetDropoutDescriptor, miopenSetDropoutDescriptor, miopenRestoreDropoutDescriptor, miopenDropoutForward, and miopenDropoutBackward
emankov
added a commit
to emankov/HIPIFY
that referenced
this issue
Aug 28, 2023
…Step 32 - functions + Implemented a new function call transformation type "additional non-const arg" (`e_add_var_argument`) + The variable for the adding function argument is a copy of another function call argument + The new transformation is tested on rocSPARSE functions `rocsparse_(s|d|c|z)gpsv_interleaved_batch`, where: - an additional argument rocsparse_int batch_stride is copied from the previous one: rocsparse_int batch_count; - it is how hipsparse(S|D|C|Z)gpsvInterleavedBatch calls rocsparse_(s|d|c|z)gpsv_interleaved_batch in its implementation; + Updated synthetic tests and the regenerated hipify-perl and SPARSE docs
Implemented by #1001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The additional arg should be declared before the function call with the specified assigned value or created in case of pointer type.
[Example]
cudnnGetRNNDescriptor_v6 -> miopenGetRNNDescriptor_V2,
where such an additional arg is
miopenRNNBiasMode_t *biasMode
The text was updated successfully, but these errors were encountered: