Skip to content

[UR] Make each profiling info variant for urEventGetProfilingInfo optional and improve its conformance test #17067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

RossBrunton
Copy link
Contributor

Migrated from oneapi-src/unified-runtime#2533

This patch turns all of the values returned by urEventGetProfilingInfo
to be optional and updates adapters to handle this by returning the
appropriate enum when it is not supported.

The tests have also been updated, to ensure that returning a counter of
"0" or values equal to the previous profiling event is no longer
considered a failure.

This patch turns all of the values returned by urEventGetProfilingInfo
to be optional and updates adapters to handle this by returning the
appropriate enum when it is not supported.

The tests have also been updated, to ensure that returning a counter of
"0" or values equal to the previous profiling event is no longer
considered a failure.
@RossBrunton RossBrunton changed the title [UR] Make profiling info optional and update tests [UR] Make each profiling info variant for urEventGetProfilingInfo optional and improve its conformance test Feb 20, 2025
@RossBrunton
Copy link
Contributor Author

@intel/llvm-gatekeepers Please merge.

@dm-vodopyanov dm-vodopyanov merged commit a739d34 into intel:sycl Feb 20, 2025
30 checks passed
@dm-vodopyanov
Copy link
Contributor

@kbenzie
Copy link
Contributor

kbenzie commented Feb 20, 2025

@RossBrunton post-commit is failing, please, fix ASAP.

https://github.com/intel/llvm/actions/runs/13435147368/job/37535653157

I've retried the job, this looks like an issue we've seen before where the ur_api.h header is being copied to the build directory at the same time as another file is being compiled which includes it.

@kbenzie
Copy link
Contributor

kbenzie commented Feb 20, 2025

I've opened #17093 to hopefully stop this issue recurring.

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