Skip to content

Conversation

@againull
Copy link
Contributor

@againull againull commented Jul 12, 2025

The size of the value returned from UR_PROGRAM_INFO_BINARIES query was incorrect, we need to return the size of array of pointers (for each device associated with the program) according to doc:
https://oneapi-src.github.io/unified-runtime/core/api.html?highlight=urprogramgetinfo#ur-program-info-t
This bug was leading to crashes when using persistent cache in sycl in scenarios with multi-device context, newly added test emulates that scenario when we recreate program from the saved binary.

@againull againull force-pushed the ur_program_info_binaries branch from 736967c to d4d54b8 Compare July 14, 2025 17:32
@againull againull marked this pull request as ready for review July 14, 2025 17:43
@againull againull requested review from a team as code owners July 14, 2025 17:43
Copy link
Contributor

@nrspruit nrspruit left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for the patch!

@againull againull merged commit 7ab256b into intel:sycl Jul 14, 2025
34 checks passed
@againull againull deleted the ur_program_info_binaries branch September 29, 2025 21:29
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.

2 participants