[SYCL] Remove undocumented descriptors#22542
Conversation
|
@KornevNikita can I get a review on this PR? Thanks! I found some more non-standard descriptors for which I am going to open issues Update: I think I misunderstood the scope of the original issue, I missed that this issue should have covered only |
KornevNikita
left a comment
There was a problem hiding this comment.
Just a quick Sunday review, will take an additional one tomorrow.
let's stick to device info descriptors, other classes are covered by different PRs |
|
Ok.. I think this PR is getting close to final touches if not already. I am experiencing some issues with the target But I remember being able to run it, I used the builbot scripts to configure, compile and check the build, I also re-ran |
| "For a 3D image, the depth must be a Value >= 1 and <= " | ||
| "info::device::image2d_max_depth"); | ||
|
|
||
| #ifndef __INTEL_PREVIEW_BREAKING_CHANGES |
There was a problem hiding this comment.
not sure if we should remove this block, although looks like legacy. I thing we need to update checkImageValueRange() to call adapter instead (like what info::device::image_max_array_size actually calls)
There was a problem hiding this comment.
I tried to do this right now but it's a bit difficult for me to properly add a workaround for it. But logically, if image_max_array_size is non-standard and will be removed, also there is no replacement for it, then we shouldn't test against it anymore, no?
|
Sorry for new requests, didn't catch them all at first. |
No worries! Thank you for bringing them up and looking in my PRs! Much appreciated! |
|
Also I am not sure what to make of CI.. it all fails but it all looks expected Apparently there is |
yep, replace |
|
Yeah, I'll be honest, I got really confused in this PR, from all the extra modifications with different classes, also I did not expect deprecated descriptors to have extensions / aspects that are very similar or identical in naming, so it messed up with my head. Can you please re-review now? I have moved what get_info used to return for the descriptors to what has should return now, as I think that is the intended behaviour. For |
@Robertkq thanks for working on this! In general LGTM, but I assume there will be test failures, so there is still some amount of changes to do. |
YuriPlyakhin
left a comment
There was a problem hiding this comment.
the only file change owned by me: sycl/test-e2e/NewOffloadDriver/image_compression.cpp - LGTM
|
@Robertkq just see the "Self build" job, all other failures are related to the tests that haven't been built and therefore found: I suggest to just remove this - it's deprecated and I have plans to remove the support. For the rest of the tests - use alternatives to the deprecated descriptors if possible, or guard with the preview macro, just a note, I guess you know what to do:) |
remove undocumented descriptors from platform Deprecate & remove the rest of descriptors Fix uses of removed descriptors revert changes to other classes
…vice::descriptor)
Removal of non-standard descriptors from multiple classes
fixes #22477