-
Notifications
You must be signed in to change notification settings - Fork 75
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][SWDEV-382258][feature] Introduce 1-to-N
conditional matcher
#782
Comments
emankov
changed the title
[HIPIFY][feature] Introduce
[HIPIFY][SWDEV-382258][feature] Introduce Feb 23, 2023
1-to-N
conditional matcher1-to-N
conditional matcher
emankov
added a commit
to emankov/HIPIFY
that referenced
this issue
Feb 23, 2023
…anged signature [ToDo] ROCm#782
emankov
added a commit
to emankov/HIPIFY
that referenced
this issue
Feb 23, 2023
…luding of some tests [ToDo] + ROCm#782 + Get rid of the error `CUDA device code does not support variadic functions` in CUB tests
emankov
added a commit
to emankov/HIPIFY
that referenced
this issue
May 2, 2023
…r CUDA overloaded functions [IMP] + Introduced 1-to-N hipification for overloaded APIs with different number of arguments (see the `cudaEventCreate` example in ROCm#783) + Introduced a new marker `CUDA_OVERLOADED` and the corresponding Matcher `cudaOverloadedHostFuncCall` + Currently, `CUDA_OVERLOADED` APIs are hipified twice: first, by rewriting string blindly, and second, by overload matcher (correcting) + Added a synthetic test for cudaEventCreate to `hipEventCreateWithFlags` hipification in `runtime_functions.cu` [ToDo] + Take into account other markers, firstly `HIP_UNSUPPORTED`, in overloaded hipification + Take into account `CUDA_VERSION` for overloaded APIs: currently, versioning is provided only for a single instance of the overloaded API + Find all the existing overloaded CUDA APIs, update HIPIFY correspondingly for those APIs, and provide tests + [sub-task] Implement overloading with the same number of arguments and different argument types + [optionally] Think about implementing the same in hipify-perl
emankov
added a commit
to emankov/HIPIFY
that referenced
this issue
May 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[Synopsis]
1-to-1
unconditional matchers are presented in hipify-clang[ToDo]
needed
HIP analogue (if presented)needed
HIP analogue is not presented (not yet implemented), throw an error or a warningcuStreamGetCaptureInfo
should be matched and transformed tohipStreamGetCaptureInfo
ifCUDA_VERSION < 12000
, and tohipStreamGetCaptureInfo_v2
ifCUDA_VERSION >= 12000
; in the first scenario, the call ofcuStreamGetCaptureInfo
has the signature used before CUDA 12.0, in the second scenario, the call ofcuStreamGetCaptureInfo
has the different signature, changed with CUDA 12.0.The text was updated successfully, but these errors were encountered: