Skip to content

[UR][L0] Migrate discrete buffer through host when P2P is not accessible#22010

Open
ldorau wants to merge 1 commit into
intel:syclfrom
ldorau:URL0_Migrate_discrete_buffer_through_host_when_P2P_is_not_accessible
Open

[UR][L0] Migrate discrete buffer through host when P2P is not accessible#22010
ldorau wants to merge 1 commit into
intel:syclfrom
ldorau:URL0_Migrate_discrete_buffer_through_host_when_P2P_is_not_accessible

Conversation

@ldorau
Copy link
Copy Markdown
Contributor

@ldorau ldorau commented May 13, 2026

When a buffer on a discrete GPU needs to be accessed from a different
device and P2P access is not enabled, migrate the data through a
temporary host buffer instead of returning UR_RESULT_ERROR_UNSUPPORTED_FEATURE.

Before migrating, wait for pending operations (from the wait list) to
complete, ensuring that prior kernel writes to the buffer are visible.

Fixes: #22007
Fixes: #22008

When a buffer on a discrete GPU needs to be accessed from a different
device and P2P access is not enabled, migrate the data through a
temporary host buffer instead of returning UR_RESULT_ERROR_UNSUPPORTED_FEATURE.

Before migrating, wait for pending operations (from the wait list) to
complete, ensuring that prior kernel writes to the buffer are visible.

Fixes: intel#22007
Fixes: intel#22008

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau ldorau requested a review from kswiecicki May 13, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant