Skip to content

[SYCL] Enqueue leaves after host accessor destruction #899

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
Dec 24, 2019

Conversation

KarachunIvan
Copy link
Contributor

Need to enqueue all leaves of the graph to start
execution after unblocking.

Signed-off-by: Ivan Karachun [email protected]

@romanovvlad
Copy link
Contributor

LGTM. Please fix title: leaves-> leafs

@romanovvlad
Copy link
Contributor

Could you please write a test which check that PI call which enqueues kernel is called during host accessor d'tor?

@keryell
Copy link
Contributor

keryell commented Dec 3, 2019

LGTM. Please fix title: leaves-> leafs

It sounds like it is mostly leaves https://www.merriam-webster.com/dictionary/leaf

Otherwise, I think that the Intel FPGA team is in Toronto...
https://www.quora.com/Why-are-the-Toronto-Maple-Leafs-spelled-as-Leafs-instead-of-Leaves
:-)

@romanovvlad
Copy link
Contributor

LGTM. Please fix title: leaves-> leafs

It sounds like it is mostly leaves https://www.merriam-webster.com/dictionary/leaf

Otherwise, I think that the Intel FPGA team is in Toronto...
https://www.quora.com/Why-are-the-Toronto-Maple-Leafs-spelled-as-Leafs-instead-of-Leaves
:-)

Yeah, you are right.

Copy link
Contributor

@romanovvlad romanovvlad left a comment

Choose a reason for hiding this comment

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

LGTM.

@KarachunIvan KarachunIvan reopened this Dec 11, 2019
@KarachunIvan KarachunIvan force-pushed the private/ivankara/enqueue_leaves branch from d57328b to 4945ae5 Compare December 11, 2019 10:16
romanovvlad
romanovvlad previously approved these changes Dec 16, 2019
@@ -0,0 +1,36 @@
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems run on host is not needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed

Ivan Karachun added 3 commits December 24, 2019 10:22
Need to enqueue all leaves of the graph to start
execution after unblocking.

Signed-off-by: Ivan Karachun <[email protected]>
Signed-off-by: Ivan Karachun <[email protected]>
@romanovvlad romanovvlad merged commit 80d17b2 into intel:sycl Dec 24, 2019
vmaksimo pushed a commit to vmaksimo/llvm that referenced this pull request Feb 24, 2021
In most cases convert functions are translated to set of LLVM IR
instructions but in case of saturated conversion or if conversion has
rounding mode, the translation should go through SPIR-V friendly LLVM IR.

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@9f3c10f
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