Skip to content

Conversation

@aarongreig
Copy link
Contributor

These were always just used as placeholder values so they can be replaced by __SYCL_TRAIT_HANDLED_IN_RT.

These were always just used as placeholder values so they can be replaced by
__SYCL_TRAIT_HANDLED_IN_RT.
@aarongreig aarongreig force-pushed the aaron/removeURContextAtomicQueries branch from 5252593 to a75dafc Compare November 25, 2024 16:27
@aarongreig aarongreig marked this pull request as ready for review January 22, 2025 12:15
@aarongreig aarongreig requested review from a team as code owners January 22, 2025 12:15
@aelovikov-intel
Copy link
Contributor

These were always just used as placeholder values so they can be replaced by __SYCL_TRAIT_HANDLED_IN_RT.

Is it because it is the right way to do this or just because it so happened?

@aarongreig
Copy link
Contributor Author

These were always just used as placeholder values so they can be replaced by __SYCL_TRAIT_HANDLED_IN_RT.

Is it because it is the right way to do this or just because it so happened?

The queries are all implemented via GetCapabilitiesIntersectionSet. Before the UR port having fake PI enums whose only purpose was to be used in the __SYCL_PARAM_TRAITS_SPEC macro was a common pattern

@aarongreig
Copy link
Contributor Author

CI fail is unrelated, I think something's wrong with that windows runner

@aelovikov-intel
Copy link
Contributor

CI fail is unrelated, I think something's wrong with that windows runner

Both yes and no :)

yes: #16757
no:
image

These were used as dummy values in the sycl runtime to implement
meta-queries for each device in the given context. The affiliated LLVM
change for this PR updates that to use __SYCL_TRAIT_HANDLED_IN_RT
instead.

Fixes intel#2119
@aarongreig aarongreig requested review from a team as code owners February 24, 2025 14:39
@aarongreig aarongreig requested a review from jchlanda February 24, 2025 14:39
@aarongreig
Copy link
Contributor Author

UR changes ported from oneapi-src/unified-runtime#2374

@aarongreig
Copy link
Contributor Author

@intel/llvm-gatekeepers please merge

@martygrant martygrant merged commit a000e56 into intel:sycl Mar 10, 2025
28 checks passed
adamfidel pushed a commit to reble/llvm that referenced this pull request Mar 11, 2025
These were always just used as placeholder values so they can be
replaced by __SYCL_TRAIT_HANDLED_IN_RT.
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.

6 participants