Skip to content

Conversation

oleksandr-pavlyk
Copy link
Contributor

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