Skip to content
This repository was archived by the owner on Sep 30, 2026. It is now read-only.

[xpupti] Collect peer-to-peer memory copies - #1576

Closed
aostrowski-hbn wants to merge 1 commit into
pytorch:mainfrom
intel-staging:dev/adrianos/xpupti-p2p-memcpy
Closed

aostrowski-hbn wants to merge 1 commit into
pytorch:mainfrom
intel-staging:dev/adrianos/xpupti-p2p-memcpy

Conversation

@aostrowski-hbn

Copy link
Copy Markdown
Contributor

PTI reports a copy between two devices only through
PTI_VIEW_DEVICE_GPU_MEM_COPY_P2P, a view xpupti never enabled, so such
copies were missing from the trace altogether. Enable it along with the
ordinary copy view for GPU_MEMCPY and log its records as gpu_memcpy on
the source device, with the fromDevice/toDevice metadata that CUDA
peer-to-peer copies carry.

Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com

PTI reports a copy between two devices only through
PTI_VIEW_DEVICE_GPU_MEM_COPY_P2P, a view xpupti never enabled, so such
copies were missing from the trace altogether. Enable it along with the
ordinary copy view for GPU_MEMCPY and log its records as gpu_memcpy on
the source device, with the fromDevice/toDevice metadata that CUDA
peer-to-peer copies carry.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@meta-cla meta-cla Bot added the cla signed label Sep 25, 2026
@aostrowski-hbn

Copy link
Copy Markdown
Contributor Author

@pytorchbot label "ciflow/xpu"

@pytorch-bot

pytorch-bot Bot commented Sep 25, 2026

Copy link
Copy Markdown

The ciflow label(s) ciflow/xpu will be added, but CI won't be triggered until the workflows are approved (scroll to the bottom of this page).

Please ping one of the reviewers if you do not have access to approve and run workflows.

@pytorch-bot

pytorch-bot Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@aostrowski-hbn

Copy link
Copy Markdown
Contributor Author

Moved to pytorch/pytorch#198861

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant