Skip to content

Equals changes and misc #389

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

Merged
merged 2 commits into from
Apr 14, 2021
Merged

Equals changes and misc #389

merged 2 commits into from
Apr 14, 2021

Conversation

oleksandr-pavlyk
Copy link
Contributor

cpdef equals changed to cdef equals in SyclDevice, SyclContext and SyclQueue.

Method __eq__ added to SyclQueue and SyclContext.

Examples modified.

Method __eq__ has been added to SyclContext, SyclQueue
to rely on equals for the correct type of the other object,
and giving False otherwise.

Several examples that relied on .equals method were modified
accordingly.
@oleksandr-pavlyk oleksandr-pavlyk merged commit 7767b4f into master Apr 14, 2021
@oleksandr-pavlyk oleksandr-pavlyk deleted the equals_changes_and_misc branch April 14, 2021 20:50
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