Skip to content

Conversation

@OuadiElfarouki
Copy link
Contributor

This patch introduces a simple memoization mechanism within device_ext by caching the device_info, which helps avoid redundant/unnecessary queries of the full device infos whenever a single device info (max_wg_size for e.g.) is requested.

API Tests in device_ext_api have been slightly modified to verify some of the expected new changes to get_device_info methods.

Copy link
Contributor

@Alcpz Alcpz left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the changes.

@Alcpz Alcpz removed the request for review from joeatodd July 29, 2024 11:59
@OuadiElfarouki
Copy link
Contributor Author

@intel/llvm-gatekeepers Should be good to go! Thank you.

@sarnex sarnex merged commit b68d6fe into intel:sycl Jul 29, 2024
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.

3 participants