Skip to content

[UR][L0v2] Implement host-mediated buffer migration fallback#22626

Draft
kweronsx wants to merge 1 commit into
intel:syclfrom
kweronsx:p2p-fallback-host-buffer-migration
Draft

[UR][L0v2] Implement host-mediated buffer migration fallback#22626
kweronsx wants to merge 1 commit into
intel:syclfrom
kweronsx:p2p-fallback-host-buffer-migration

Conversation

@kweronsx

Copy link
Copy Markdown
Contributor

Migrate the buffer through a host allocation when two devices lack P2P access,
instead of throwing UR_RESULT_ERROR_UNSUPPORTED_FEATURE.

@kweronsx

Copy link
Copy Markdown
Contributor Author

Opened this pull request per dev ops recommendation due to issues with CI jobs in previous PR (#22152);

When two devices lack P2P access, getDevicePtr() unconditionally
threw UR_RESULT_ERROR_UNSUPPORTED_FEATURE instead of migrating the
buffer through a temporary host allocation.

Implement the fallback:
copy active device -> host -> target device

Resumes work on intel#22010
@kweronsx
kweronsx force-pushed the p2p-fallback-host-buffer-migration branch from a0adfd0 to efcab08 Compare July 15, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant