-
Notifications
You must be signed in to change notification settings - Fork 769
[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
Conversation
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
// | ||
// TODO: rename ImmCmdListsEventCleanupThreshold to not mention | ||
// be for "immediate" only. | ||
if (Queue->CommandListMap.size() > ImmCmdListsEventCleanupThreshold) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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]>
@intel/llvm-gatekeepers: the only fail is a known flaky reported in #8847:
|
Heuristically prune command-lists for re-use by others in the same context