-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][L0][PI] Add support for link copy engines #4221
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: Arvind Sudarsanam <[email protected]>
// to which the command list (if any) will be submitted. | ||
// If there is no command list, or if the command list is not a copy command | ||
// list, the value is set to -1. | ||
int CopyQueueIndex; |
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.
can't you use CopyQueueIndex == -1 check to replace the IsCopyCommandList member?
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.
Yes. I think we can.
// Currently, a round robin strategy is used. | ||
// It will return nullptr if no copy command queues are available for use. | ||
ze_command_queue_handle_t | ||
getZeCopyCommandQueue(int &CopyQueueIndex, |
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.
I suggest to make first argument a pointer for consistency
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.
Addressed this in the next patch. Thanks
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.
Please address comments
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.
LGTM
Can we start writing component tests for L0 plugin? It could be applications that call PI API of plugins and checks that calls to L0 API are correct(similar to how we check that SYCL API is lowered correctly to PI API). |
Hi @romanovvlad Thanks |
Ok. |
Signed-off-by: Arvind Sudarsanam [email protected]