Skip to content
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

[TVM] Fixed SPIR-V codegen for OpControlBarrier #1409

Merged
merged 2 commits into from
Jul 10, 2018
Merged

[TVM] Fixed SPIR-V codegen for OpControlBarrier #1409

merged 2 commits into from
Jul 10, 2018

Conversation

alex-weaver
Copy link
Contributor

SPIR-V codegen was not emitting correct code for OpControlBarrier. This manifested in the test_ewise.py unit test failing for test_multiple_cache_write() on Windows 10.

OpControlBarrier expects ids of integers, not the integers themselves. The fix for this is to generate constants for each required id.

Copy link
Member

@tqchen tqchen left a comment

Choose a reason for hiding this comment

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

Please fix the lint error

@tqchen tqchen merged commit 4d0c936 into apache:master Jul 10, 2018
@alex-weaver alex-weaver deleted the spirv-ctrlbarrier branch July 10, 2018 16:47
tqchen pushed a commit to tqchen/tvm that referenced this pull request Aug 4, 2018
sergei-mironov pushed a commit to sergei-mironov/tvm that referenced this pull request Aug 8, 2018
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.

None yet

2 participants