[Feature]: Support hipIpcEventHandler
Suggestion Description
According to examples, it uses torch.distributed.barrier (previously torch.cuda.synchronize and mpi's world_barrier) to handle synchronization.
Very noob question. Can we add hipIpcEventHandler for fine-grained control? I'm not sure whether torch APIs use hipIpcEventHandler under the hood.
Operating System
No response
GPU
No response
ROCm Component
No response
Hi @tantara, yes, we can add a finer-grain control for the host-side synchronization. Can you give a small example of a HIP/CUDA/Torch code for the synchronization you are looking for?
I don't have a good example for now. I'm exploring HIP APIs as part of AMD challenge. I will update this thread once I have ideas.
Sounds great and good luck with the competition!