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

Added tests for constructors with invalid capsules #577

Merged
merged 3 commits into from
Sep 7, 2021

Conversation

oleksandr-pavlyk
Copy link
Collaborator

SyclEvent destructor now only calls wait and delete on non-null references.

Added tests to check that constructors handle invalid capsules.

Added tests to very that queues from different platforms are unequal, added test for validation that creating SyclQueue from a context and a devices not from that context.

Added tests to check that creation of SyclContext from devices from different platforms fails.

@coveralls
Copy link
Collaborator

Coverage Status

Coverage increased (+0.1%) to 70.81% when pulling 9597299 on check-invalid-capsule into fdb3919 on master.

@oleksandr-pavlyk oleksandr-pavlyk changed the title Check invalid capsule Added tests for constructors with invalid capsules Sep 7, 2021
@oleksandr-pavlyk oleksandr-pavlyk merged commit 783ded9 into master Sep 7, 2021
@oleksandr-pavlyk oleksandr-pavlyk deleted the check-invalid-capsule branch September 7, 2021 19:37
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.

2 participants