-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL][L0] Support DPC++ extension Queue Order Properties. #3396
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
@@ -2138,6 +2157,7 @@ pi_result piQueueCreate(pi_context Context, pi_device Device, | |||
try { | |||
*Queue = | |||
new _pi_queue(ZeCommandQueue, Context, Device, ZeCommandListBatchSize); | |||
(*Queue)->PiQueueProperties = Properties; |
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.
add this to constructor instead
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.
We call new _pi_queue in piextQueueCreateWithNativeHandle as well. But there is no Properties coming into that function. What do we do there? 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.
We will have to choose something as a default, I guess OOO since that is the default SYCL's choice. If needed we could add an extension for users' to specify properties with the interop API later on.
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 do have it in the constructor.
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.
sorry, missed this comment, done.
We need to record/wait for submissions to the immediate command-list of the queue in piMemBufferCreate/piMemImageCreate |
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've noted something that I'd asked you to change. Please don't use "amend" with the new commits, such that I can review incremental changes only.
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.
few more comments
the only lit-fail for SIMD/vadd.cpp is unrelated to this change. I've talked with @DenisBakhvalov and he has uploaded a fix here: #3457. |
there are 4 fails (3 time-outs and one ESIMD fail) for windows precommit testing for OpenCL which says for level_zero both linux and windows precommit tests pass. I am restarting the test. |
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
Signed-off-by: rbegam <rehana.begam@intel.com>
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.
Looks good to me. Thanks
…ties. (intel#3396)" (intel#3479)" This reverts commit 3160de0.
Return back "[SYCL][L0] Support DPC++ extension Queue Order Properties. (#3396)" reverted earlier in (#3479) Added fix for the segfault happening due to wait on an already released event. The related test SYCL/InorderQueue/in_order_event_release.cpp is added in llvm-test-suite. Signed-off-by: rbegam rehana.begam@intel.com
Adds in-order queue semantics.
Reverts [SYCL] Temporarily restore event deps in in-order queues for Level Zero #3188
Signed-off-by: rbegam rehana.begam@intel.com