Skip to content

[SYCL][L0] optimize re-use of command-lists #8870

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 3 commits into from
Mar 31, 2023
Merged

Conversation

smaslov-intel
Copy link
Contributor

@smaslov-intel smaslov-intel commented Mar 30, 2023

Heuristically prune command-lists for re-use by others in the same context

@smaslov-intel smaslov-intel requested a review from a team as a code owner March 30, 2023 00:04
@smaslov-intel smaslov-intel temporarily deployed to aws March 30, 2023 02:43 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws March 30, 2023 08:51 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel requested a review from againull March 30, 2023 17:18
Signed-off-by: Sergey V Maslov <[email protected]>
//
// TODO: rename ImmCmdListsEventCleanupThreshold to not mention
// be for "immediate" only.
if (Queue->CommandListMap.size() > ImmCmdListsEventCleanupThreshold) {
Copy link
Contributor

Choose a reason for hiding this comment

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

ImmCmdListsEventCleanupThreshold represents number of events in the command list but here you check number of command lists used in the queue. Do you think it worth having a separate threshold variable for that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, since you asked I will add a new one

Signed-off-by: Sergey V Maslov <[email protected]>
@smaslov-intel smaslov-intel requested a review from a team as a code owner March 30, 2023 18:33
@smaslov-intel smaslov-intel temporarily deployed to aws March 30, 2023 20:55 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws March 30, 2023 22:56 — with GitHub Actions Inactive
@smaslov-intel
Copy link
Contributor Author

@intel/llvm-gatekeepers: the only fail is a known flaky reported in #8847:

Failed Tests (1):
SYCL :: AtomicRef/atomic_memory_order_acq_rel.cpp

@againull againull merged commit 24ae015 into intel:sycl Mar 31, 2023
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