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

Add SkipVectorize IR pass #3222

Merged
merged 1 commit into from
May 21, 2019
Merged

Add SkipVectorize IR pass #3222

merged 1 commit into from
May 21, 2019

Conversation

weberlo
Copy link
Contributor

@weberlo weberlo commented May 21, 2019

For some use cases, it's helpful to disable loop vectorization (e.g., custom datatypes and the upcoming MicroTVM).

This PR adds the ability to configure TVM module building with a disable_vectorize option. By default, the option is disabled. To enable it for a build, do:

with tvm.build_config(disable_vectorize=True):
    # Build a module.
    ...

@gussmith23 @Mutinifni @wweic @tqchen

@weberlo weberlo changed the title Add SkipVectorize pass Add "SkipVectorize" pass May 21, 2019
@weberlo weberlo changed the title Add "SkipVectorize" pass Add SkipVectorize IR pass May 21, 2019
@gussmith23
Copy link
Contributor

Wow, you totally read my mind, this is exactly what I needed right now. Thanks!

@weberlo
Copy link
Contributor Author

weberlo commented May 21, 2019

@gussmith23 Haha. We needed it for MicroTVM stuff, and Tianqi mentioned that you would need it too.

@tqchen tqchen merged commit 4b1d3d8 into apache:master May 21, 2019
@tqchen
Copy link
Member

tqchen commented May 21, 2019

Thanks, @gussmith23 @weberlo , this is now merged.

@weberlo weberlo mentioned this pull request May 22, 2019
gussmith23 added a commit to gussmith23/tvm that referenced this pull request May 24, 2019
This reverts commit 9bd17934c3914889fed97acd56cf1d13e39c9f42.
We don't need this anymore due to the change made by Logan Weber to add a
SkipVectorize pass (apache#3222).
gussmith23 added a commit to gussmith23/tvm that referenced this pull request Jun 22, 2019
This reverts commit 9bd17934c3914889fed97acd56cf1d13e39c9f42.
We don't need this anymore due to the change made by Logan Weber to add a
SkipVectorize pass (apache#3222).
wweic pushed a commit to wweic/tvm that referenced this pull request Jun 26, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 27, 2019
gussmith23 added a commit to gussmith23/tvm that referenced this pull request Oct 22, 2019
This reverts commit 9bd17934c3914889fed97acd56cf1d13e39c9f42.
We don't need this anymore due to the change made by Logan Weber to add a
SkipVectorize pass (apache#3222).
gussmith23 added a commit to gussmith23/tvm that referenced this pull request Jan 7, 2020
This reverts commit 9bd17934c3914889fed97acd56cf1d13e39c9f42.
We don't need this anymore due to the change made by Logan Weber to add a
SkipVectorize pass (apache#3222).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants