Skip to content

Conversation

@KseniyaTikhomirova
Copy link
Contributor

No description provided.

Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
bool graph_impl::clearQueues() {
bool AnyQueuesCleared = false;
for (auto &Queue : MRecordingQueues) {
void graph_impl::clearQueues(bool NeedsLock) {
Copy link
Contributor Author

@KseniyaTikhomirova KseniyaTikhomirova Nov 12, 2025

Choose a reason for hiding this comment

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

the intention is to avoid lock of queue_impl::MMutex (setCommandGraph) under graph_impl::MMutex lock since we have exact reverse order lock in submission path.


void setCommandGraphUnlocked(
std::shared_ptr<ext::oneapi::experimental::detail::graph_impl> Graph) {
const std::shared_ptr<ext::oneapi::experimental::detail::graph_impl>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixing "copy instead of move"

@steffenlarsen
Copy link
Contributor

Some of these changes seem to overlap with #20614.

@KseniyaTikhomirova
Copy link
Contributor Author

@intel/sycl-graphs-reviewers kindly ping, could you please provide feedback on graph related changes?

Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Copy link
Contributor

@reble reble left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants