Skip to content

Conversation

@sergey-semenov
Copy link
Contributor

Looking through context members alone when searching for a specific device isn't enough anymore since now descendent devices of context members can be used within that context as well. Change the logic to look for the device in the cache instead.

Looking through context members alone when searching for a specific
device isn't enough anymore since now descendent devices of context
members can be used within that context as well. Change the logic to
look for the device in the cache instead.
@sergey-semenov
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1232

@sergey-semenov sergey-semenov marked this pull request as ready for review September 8, 2022 12:43
@sergey-semenov sergey-semenov requested a review from a team as a code owner September 8, 2022 12:43
@sergey-semenov
Copy link
Contributor Author

@cperkinsintel Could you please review this one?

@keryell
Copy link
Contributor

keryell commented Sep 12, 2022

What do you mean by "descendent devices"?
Subdevices?

@sergey-semenov
Copy link
Contributor Author

What do you mean by "descendent devices"? Subdevices?

Subdevices, subsubdevices, etc. It's a term used in the spec: https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#descendent-device

@sergey-semenov
Copy link
Contributor Author

@cperkinsintel @intel/llvm-reviewers-runtime Gentle ping

Copy link
Contributor

@romanovvlad romanovvlad left a comment

Choose a reason for hiding this comment

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

LGTM

@sergey-semenov
Copy link
Contributor Author

@intel/llvm-gatekeepers Could you please merge this?

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.

4 participants