[HIPIFY][ROCM-1254] Add cooperative_groups reduce and scans support#2448
[HIPIFY][ROCM-1254] Add cooperative_groups reduce and scans support#2448g-h-c wants to merge 2 commits into
Conversation
cooperative_groups::reduce() support
|
May we ask you to provide (open) the HIPIFY ticket related to Thank you in advance |
|
Hello @g-h-c, Are you going to continue with this draft, or are we ok to close it? |
@emankov Thank you |
Yes, please: https://github.com/ROCm/HIPIFY/issues.
Sure, https://github.com/ROCm/HIPIFY is an open-source repo. |
cooperative_groups::reduce() support| {"cuda_profiler_api.h", {"hip/hip_runtime_api.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, | ||
| {"cooperative_groups.h", {"hip/hip_cooperative_groups.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, | ||
| {"cooperative_groups/reduce.h", {"hip/cooperative_groups/hip_reduce.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, | ||
| {"cooperative_groups/scan.h", {"hip/cooperative_groups/hip_scah", "", CONV_INCLUDE, API_RUNTIME, 0}}, |
There was a problem hiding this comment.
| {"cooperative_groups/scan.h", {"hip/cooperative_groups/hip_scah", "", CONV_INCLUDE, API_RUNTIME, 0}}, | |
| {"cooperative_groups/scan.h", {"hip/cooperative_groups/hip_scan.h", "", CONV_INCLUDE, API_RUNTIME, 0}}, |
Please fix the typo.
| subst("channel_descriptor.h", "hip\/channel_descriptor.h", "include"); | ||
| subst("cooperative_groups.h", "hip\/hip_cooperative_groups.h", "include"); | ||
| subst("cooperative_groups\/reduce.h", "hip\/cooperative_groups\/hip_reduce.h", "include"); | ||
| subst("cooperative_groups\/scan.h", "hip\/cooperative_groups\/hip_scan.h", "include"); |
There was a problem hiding this comment.
subst("cooperative_groups\/scan.h", "hip\/cooperative_groups\/hip_scan.h", "include");
This looks like hand edited. After fixing the C++ typo, please regenerate this file.
emankov
left a comment
There was a problem hiding this comment.
What about corresponding APIs and unit tests?
Motivation
cooperative_groups::reduce()was recently added in HIP.cg::inclusive_scanandexclusive_scanare scheduled to be added in 7.14: ROCm/rocm-systems#5914Technical Details
This PR enables automatic translation of header paths accordingly:
cooperative_groups/reduce.htocooperative_groups/hip_reduce.hcooperative_groups/scan.htocooperative_groups/hip_scan.hTest Plan
To be tested locally
Test Result
TBD
Submission Checklist