Skip to content

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