Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for urEnqueueUSMPrefetch #312

Merged
merged 7 commits into from
Mar 3, 2023

Conversation

fabiomestre
Copy link
Contributor

@fabiomestre fabiomestre commented Mar 1, 2023

Close #245

@fabiomestre fabiomestre marked this pull request as ready for review March 1, 2023 17:20
Copy link
Contributor

@veselypeta veselypeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

test/conformance/enqueue/urEnqueueUSMPrefetch.cpp Outdated Show resolved Hide resolved
urEnqueueUSMPrefetch(queue, ptr, sizeof(int),
UR_USM_MIGRATION_FLAG_DEFAULT, 0, &validEvent,
nullptr));
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not required for this PR but maybe we can have a test which uses the pEventWaitlist?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a new test for this. I'm not sure if this would be the best way to test this behaviour. Please let me know if you know of a better way.

@fabiomestre fabiomestre merged commit 2d3a576 into oneapi-src:main Mar 3, 2023
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.

Adds CTS tests for urEnqueueUSMPrefetch entry-point
3 participants