Skip to content

[SYCL][COMPAT] Fixes SYCLCOMPAT_PROFILING_ENABLED codepath #14574

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 2 commits into from
Jul 17, 2024

Conversation

Alcpz
Copy link
Contributor

@Alcpz Alcpz commented Jul 15, 2024

The codepath which enabled profiling in syclcompat queues was neither working nor properly tested.

  • Fixes sycl::property::queue::enable_profiling being added to queue properties if SYCLCOMPAT_PROFILING_ENABLED is defined
    • Tests added for both SYCLCOMPAT_PROFILING_ENABLED defined and undefined.
  • Refactors create_queue_impl to accept a list of properties instead of a series of bools to enable properties.
    • Refactor does not affect public API.

@Alcpz Alcpz requested a review from a team as a code owner July 15, 2024 12:42
@Alcpz Alcpz temporarily deployed to WindowsCILock July 15, 2024 12:42 — with GitHub Actions Inactive
Copy link
Contributor

@joeatodd joeatodd left a comment

Choose a reason for hiding this comment

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

LGTM nits

@Alcpz Alcpz temporarily deployed to WindowsCILock July 15, 2024 13:33 — with GitHub Actions Inactive
Copy link
Contributor

@joeatodd joeatodd left a comment

Choose a reason for hiding this comment

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

🚢

@Alcpz Alcpz temporarily deployed to WindowsCILock July 15, 2024 14:13 — with GitHub Actions Inactive
@Alcpz Alcpz closed this Jul 16, 2024
@Alcpz Alcpz reopened this Jul 16, 2024
@Alcpz Alcpz temporarily deployed to WindowsCILock July 16, 2024 08:14 — with GitHub Actions Inactive
@Alcpz Alcpz temporarily deployed to WindowsCILock July 16, 2024 08:38 — with GitHub Actions Inactive
@Alcpz
Copy link
Contributor Author

Alcpz commented Jul 17, 2024

@intel/llvm-gatekeepers This is ready to merge. Thanks!

@sommerlukas sommerlukas merged commit 3caa78e into intel:sycl Jul 17, 2024
25 of 27 checks passed
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