-
Notifications
You must be signed in to change notification settings - Fork 33
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
Feature/remove unused kernel model fields #1293
Conversation
fedbc1b
to
decad99
Compare
decad99
to
bba3096
Compare
Documentation preview: show. |
bba3096
to
186170d
Compare
7aac67c
to
e298fb3
Compare
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.
Few minor things, but overall good to go. Thank you!
array_attr_pos=array_data_model.get_field_position("nitems"), | ||
array_attr_ty=array_data_model.get_member_fe_type("nitems"), | ||
array_val=host_array_val, | ||
array_attr_pos=host_array_data_model.get_field_position("nitems"), |
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.
A comment is needed here as to when host_array_data_model
is used and when kernel_Array_data_model
is used.
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.
It needs proper refactoring. Did my best to give reader some clue
e298fb3
to
72f66dd
Compare
…l_model_fields Feature/remove unused kernel model fields 92a7a7d
As was mentioned in #929 we don't need host specific fields in kernel. Another issue that we addressing here, since #1263 not all fields on device have addrspace, which results in broken
opencl:gpu
test cases. This PR is all about removingparent
,meminfo
andsycl_queue
from device representation of usm arrays.What was done:
parent
,meminfo
andsycl_queue
fields from the data model used by theUSMNdArray
type in kernelsChecklist:
Closes: #929