Skip to content

Fix/refactor sycl device #321

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 4 commits into from
Mar 13, 2021
Merged

Fix/refactor sycl device #321

merged 4 commits into from
Mar 13, 2021

Conversation

diptorupd
Copy link
Contributor

@diptorupd diptorupd commented Mar 13, 2021

Closes #294
Refactor the SyclDevice class.

This way _SyclDevice, which can be create with data attributes default
using _SyclDevice() can not be used (no methods defined).

Modified __repr__ for SyclDevice to reflect backend, device kind and the
the device name as reported by dev.get_info<sycl::info::device::name>().
@diptorupd diptorupd force-pushed the fix/refactor_SyclDevice branch from 777950f to 6f12497 Compare March 13, 2021 17:47
@diptorupd diptorupd merged commit 19e7b49 into master Mar 13, 2021
@diptorupd diptorupd deleted the fix/refactor_SyclDevice branch March 13, 2021 21:33
@oleksandr-pavlyk oleksandr-pavlyk added this to the 0.7.0 milestone Apr 13, 2021
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.

Improve the __repr__ function of SyclDevice class
2 participants