-
Notifications
You must be signed in to change notification settings - Fork 30
Add device descriptors: sub_group_independent_forward_progress and preferred_vector_width #308
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
Conversation
@diptorupd, @oleksandr-pavlyk could you please take a look? |
@1e-to Looks good. @oleksandr-pavlyk once we have the types properly supported we should have a single |
Can I suggest to not save properties in |
For now this looks good. Feel free to merge. This will cause conflicts with |
I think it is better to make the change now before we add even more I have created a PR #324 to change the existing attributes to properties. Let us keep these attributes as is, since they involve allocating a pointer:
Also, rebase with master, as I have merged @oleksandr-pavlyk 's changes to SyclDevice in #321. |
@1e-to can you rebase this with master and then change the attributes you added to SyclDevice class to properties. |
GTEST_SKIP_("Device not found"); | ||
EXPECT_NO_FATAL_FAILURE( | ||
vector_width_double = DPCTLDevice_GetPreferredVectorWidthDouble(DRef)); | ||
if (DPCTLDevice_HasAspect(DRef, DPCTL_SyclAspectToDPCTLAspectType( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! You have been reading the spec a lot :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @1e-to !
…eferred_vector_width (#308) * Add sub_group_independent_forward_progress and preferred_vector_width_char * Add tests * Add python api * Fixes + tests * Add preferred_vector_width funcs * Added property Co-authored-by: etotmeni <elena.totmenina@intel.com>
Add sub_group_independent_forward_progress and preferred_vector_width_char
Closes #314 , the part of #286