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

Raises dedicate exception type of failure to create SyclDevice #826

Merged
merged 4 commits into from
May 1, 2022

Conversation

oleksandr-pavlyk
Copy link
Collaborator

Changed error type raised on failure to create SyclDevice.
It used to be ValueError, now SyclDeviceCreationError is raised.
Also this error and SyclSubDeviceCreationError are now exported to dpctl namespace.

Remove incorrect comment in sycl_queue.py.

Adjusted example sycl_queue to handle error creating sub-devices.

Lowered the value of partition keyword from 4 to 2

It used to be ValueError, now SyclDeviceCreationError is raised.

removed incorrect comment
Adjusted example sycl_queue to handle error creating sub-devices
lower the value of partition keyword from 4 to 2
@github-actions
Copy link

@coveralls
Copy link
Collaborator

Coverage Status

Coverage increased (+0.006%) to 82.866% when pulling 662e519 on device-creation-error into ecae1c6 on master.

@oleksandr-pavlyk oleksandr-pavlyk merged commit 7a86fbf into master May 1, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the device-creation-error branch May 1, 2022 16:37
@github-actions
Copy link

github-actions bot commented May 1, 2022

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

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