Skip to content

Conversation

@bashbaug
Copy link
Contributor

Fixes #420

Description of Changes

Adds the ability to capture and replay workloads that pass SVM or USM pointer kernel arguments that point into the middle of an SVM or USM allocation, in addition to workloads that pass pointers to the base of an SVM or USM allocation. This is done by capturing the offset from the base of an SVM allocation when a pointer is set as a kernel argument. Then, this offset is re-applied during replay.

Testing Done

Tested with several small testers that pass pointers into the middle of an SVM allocaiton. Tested cases where the pointer to the middle of an SVM allocation is an input and where the pointer is an output.

@bashbaug bashbaug mentioned this pull request Jan 20, 2026
@bashbaug bashbaug merged commit a557630 into intel:main Jan 30, 2026
8 checks passed
@bashbaug bashbaug deleted the svm-offset-capture-replay branch January 30, 2026 22:33
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.

SYCL Replay Error

1 participant