iris icon indicating copy to clipboard operation
iris copied to clipboard

[Feature]: Support hipIpcEventHandler

Open tantara opened this issue 1 year ago • 3 comments

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

tantara avatar Sep 13 '25 14:09 tantara

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?

mawad-amd avatar Sep 13 '25 21:09 mawad-amd

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.

tantara avatar Sep 16 '25 00:09 tantara

Sounds great and good luck with the competition!

mawad-amd avatar Sep 16 '25 01:09 mawad-amd