Skip to content

Conversation

@RossBrunton
Copy link
Contributor

Some functions were added, the barrier event now is reference counted
(rather than being dropped when the event is destroyed) and empty events
no longer cause an error.

@RossBrunton RossBrunton requested a review from a team as a code owner August 19, 2025 14:53
Some functions were added, the barrier event now is reference counted
(rather than being dropped when the event is destroyed) and empty events
no longer cause an error.
urEventRetain(BarrierEvent);
} else {
OL_RETURN_ON_ERR(olCreateEvent(TargetQueue, &BarrierEvent));
OL_RETURN_ON_ERR(makeEvent(TYPE, TargetQueue, hQueue, &BarrierEvent));
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: I know it's not added in this PR but the all caps name TYPE for a constexpr enum looks odd

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a template parameter, so in my head it inherits the naming scheme of enum variants which are all caps. Although I can't exactly say why I think it should work that way.

@RossBrunton
Copy link
Contributor Author

@intel/llvm-gatekeepers Please merge.

@uditagarwal97 uditagarwal97 merged commit fa31c6e into intel:sycl Aug 20, 2025
55 of 57 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