Skip to content

[SYCL] Change event wait scope flag in Level Zero #1898

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 1 commit into from
Jun 17, 2020

Conversation

jandres742
Copy link
Contributor

@jandres742 jandres742 commented Jun 16, 2020

Set it to ZE_EVENT_SCOPE_FLAG_HOST, so cache hierarchies are
flushed in host scope.

This ensures that when host is waiting on a event with
zeEventHostSynchronize(), that changes in the event state
are correctly propagated and seen by the host.

Signed-off-by: Jaime Arteaga jaime.a.arteaga.molina@intel.com

@smaslov-intel
Copy link
Contributor

@jandres742 , please provide more description why this is needed and what side affects it has, if any.

Set it to ZE_EVENT_SCOPE_FLAG_HOST, so cache hierarchies are
flushed in host scope.

This ensures that when host is waiting on a event with
zeEventHostSynchronize(), that changes in the event state
are correctly propagated and seen by the host.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
@jandres742 jandres742 force-pushed the improve_event_scope branch from 9014229 to 0272ec9 Compare June 16, 2020 17:58
@jandres742 jandres742 changed the title [SYCL] Change event scope flags in Level Zero [SYCL] Change event wait scope flag in Level Zero Jun 16, 2020
@jandres742
Copy link
Contributor Author

@jandres742 , please provide more description why this is needed and what side affects it has, if any.

Reworded.

Copy link
Contributor

@smaslov-intel smaslov-intel left a comment

Choose a reason for hiding this comment

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

LGTM

@bader bader merged commit 5a1ef01 into intel:sycl Jun 17, 2020
@jandres742 jandres742 deleted the improve_event_scope branch June 18, 2020 03:52
iclsrc pushed a commit that referenced this pull request Jun 6, 2024
Some of the upstream PRs are getting backported to the llvm_release_* branches, but those changes are never released. That prevents them from distributing as precompiled packages in various distributions like conda-forge and others. This PR targets this issue by creating automated workflow that is triggered once a month and generates automated releases for each such branch if there were changes since last release.

This PR
Adds workflow to generate releases every month from llvm_release_* branches in the format %llvm_major%.%llvm_minor%.%latest patch version +1%. For example:
v18.1.1
v17.0.2
v17.0.1
v14.0.1
etc

Release description matches as close as possible to current releases. The only difference is that llvm versions is represented by two numbers, instead of three, because it is impossible to recover exact version. You can check out example of generated versions here (there are few releases from the original proposal): https://github.com/ZzEeKkAa/SPIRV-LLVM-Translator/releases
Workflow is set to be triggered once a month. It is also possible to trigger it manually from github actions UI.

Merge process
Merge the PR to main
Trigger workflow manually

Note
There is no need to backport changes to all branches, since workflow dispatch on schedule basis can be performed only from main branch.

Fixes: #1898
Fixes: #1508

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@63e89a9a268e5c2
jsji pushed a commit that referenced this pull request Jun 27, 2024
Some of the upstream PRs are getting backported to the llvm_release_* branches, but those changes are never released. That prevents them from distributing as precompiled packages in various distributions like conda-forge and others. This PR targets this issue by creating automated workflow that is triggered once a month and generates automated releases for each such branch if there were changes since last release.

This PR
Adds workflow to generate releases every month from llvm_release_* branches in the format %llvm_major%.%llvm_minor%.%latest patch version +1%. For example:
v18.1.1
v17.0.2
v17.0.1
v14.0.1
etc

Release description matches as close as possible to current releases. The only difference is that llvm versions is represented by two numbers, instead of three, because it is impossible to recover exact version. You can check out example of generated versions here (there are few releases from the original proposal): https://github.com/ZzEeKkAa/SPIRV-LLVM-Translator/releases
Workflow is set to be triggered once a month. It is also possible to trigger it manually from github actions UI.

Merge process
Merge the PR to main
Trigger workflow manually

Note
There is no need to backport changes to all branches, since workflow dispatch on schedule basis can be performed only from main branch.

Fixes: #1898
Fixes: #1508

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