Skip to content

DPCTLDeviceMgr_GetNumDevices should not operate on rejected devices #737

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 1 commit into from
Jan 5, 2022

Conversation

oleksandr-pavlyk
Copy link
Contributor

This is replicating the logic of get_devices and works where get_num_devices crashes.

@oleksandr-pavlyk oleksandr-pavlyk force-pushed the fix-get-num-devices-crash branch from 8ac51b4 to 9b287e8 Compare January 5, 2022 22:36
@github-actions
Copy link

github-actions bot commented Jan 5, 2022

@coveralls
Copy link
Collaborator

Coverage Status

Coverage decreased (-0.01%) to 81.473% when pulling 9b287e8 on fix-get-num-devices-crash into fab1c99 on master.

@oleksandr-pavlyk oleksandr-pavlyk merged commit 43f33cc into master Jan 5, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the fix-get-num-devices-crash branch January 5, 2022 23:12
@github-actions
Copy link

github-actions bot commented Jan 5, 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