Skip to content

[SYCL][Graph] Cache native recording state in queue#21927

Draft
adamfidel wants to merge 1 commit intointel:syclfrom
adamfidel:adam/native-recording-queue-atomic-bool
Draft

[SYCL][Graph] Cache native recording state in queue#21927
adamfidel wants to merge 1 commit intointel:syclfrom
adamfidel:adam/native-recording-queue-atomic-bool

Conversation

@adamfidel
Copy link
Copy Markdown
Member

When finalizing a handler, we issue a call to urQueueIsGraphCaptureEnabledExp if the command group contains a host task or depends on buffers/accessors.

In order to avoid issuing calls to UR, we add a std::atomic flag managed by queue_impl.

When finalizing a handler, we issue a call to urQueueIsGraphCaptureEnabledExp if
the command group contains a host task or depends on buffers/accessors.

In order to avoid issuing calls to UR, we add a std::atomic<bool> flag managed by queue_impl.
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.

1 participant