Skip to content

Remove undocumented descriptors#22542

Open
Robertkq wants to merge 6 commits into
intel:syclfrom
Robertkq:Robertkq/22477
Open

Remove undocumented descriptors#22542
Robertkq wants to merge 6 commits into
intel:syclfrom
Robertkq:Robertkq/22477

Conversation

@Robertkq

@Robertkq Robertkq commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Removal of non-standard descriptors from multiple classes

fixes #22477

@Robertkq Robertkq requested a review from a team as a code owner July 3, 2026 17:17
@Robertkq Robertkq requested a review from sergey-semenov July 3, 2026 17:17
@Robertkq Robertkq marked this pull request as draft July 3, 2026 17:18
@Robertkq Robertkq marked this pull request as ready for review July 5, 2026 10:24
@Robertkq

Robertkq commented Jul 5, 2026

Copy link
Copy Markdown
Contributor Author

@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 device and for the descriptors that were present on other classes like kernel platform context I also removed them, the likes of reference_count. Not sure if I should revert the changes to the other classes or keep them, as they need to be removed either way

@KornevNikita KornevNikita left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick Sunday review, will take an additional one tomorrow.

Comment thread sycl/include/sycl/info/context.hpp Outdated
struct reference_count : context_traits<UR_CONTEXT_INFO_REFERENCE_COUNT> {
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
struct __SYCL_DEPRECATED(
"reference_count is non-standard and will be removed in next major release")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it'll be removed in scope of #22521

Comment thread sycl/include/sycl/info/device.hpp Outdated
@@ -461,7 +472,7 @@ struct ext_oneapi_srgb : device_traits<UR_DEVICE_INFO_IMAGE_SRGB> {
};

// Deprecated oneapi/intel extension

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's insert the macro above this comment

Suggested change
// Deprecated oneapi/intel extension
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
// Deprecated oneapi/intel extension

return false;
}

CASE(info::device::usm_device_allocations) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep this and below under macro

@KornevNikita

Copy link
Copy Markdown
Contributor

@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 device and for the descriptors that were present on other classes like kernel platform context I also removed them, the likes of reference_count. Not sure if I should revert the changes to the other classes or keep them, as they need to be removed either way

let's stick to device info descriptors, other classes are covered by different PRs

Comment thread sycl/include/sycl/info/device.hpp Outdated
};
struct usm_restricted_shared_allocations
struct __SYCL_DEPRECATED(
"use sycl::aspect::usm_restricted_shared_allocations instead")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no such aspect

Comment thread sycl/include/sycl/info/device.hpp Outdated
};
#endif // __INTEL_PREVIEW_BREAKING_CHANGES
// Extensions
struct sub_group_independent_forward_progress

@KornevNikita KornevNikita Jul 6, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed - we need to deprecate this as well since the extension has been deprecated - https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/deprecated/sycl_ext_oneapi_sub_group.asciidoc

@Robertkq

Robertkq commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Ok.. I think this PR is getting close to final touches if not already. I am experiencing some issues with the target check-sycl-e2e, I constantly get this error now:

[0/2] Re-checking globbed directories...
ninja: error: 'tools/sycl/test-e2e/compiler-rt', needed by 'tools/sycl/test-e2e/CMakeFiles/check-sycl-e2e', missing and no known rule to make it

But I remember being able to run it, I used the builbot scripts to configure, compile and check the build, I also re-ran ninja in the build directory to try and build any remaining targets but I always get this issue. Will take a look at how the tests look to see any issues with the current stage of the PR

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.

Remove undocumented device infos

2 participants