Skip to content

Check iter_type in vectorize - #1921

Merged
tqchen merged 1 commit into
apache:masterfrom
izgzhen:check-vectorized-disallow
Oct 19, 2018
Merged

tqchen merged 1 commit into
apache:masterfrom
izgzhen:check-vectorized-disallow

Conversation

@izgzhen

@izgzhen izgzhen commented Oct 18, 2018

Copy link
Copy Markdown
Contributor

fixes #1795

@wweic wweic left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's recommended to add test-cases to cover the new features or bugfix the patch introduces. So probably add a unit test(probably in test_lang_schedule.py) to make sure exception is correctly thrown, like https://github.com/dmlc/tvm/blob/dc996e451a3fee9dffefc31b652b6e85a72cb041/tests/python/unittest/test_pass_split_host_device.py#L4-L14

@tqchen tqchen added the status: need update need update based on feedbacks label Oct 18, 2018
@tqchen

tqchen commented Oct 18, 2018

Copy link
Copy Markdown
Member

Thanks for the contribution! please add a test case as @wweic suggested

@izgzhen

izgzhen commented Oct 19, 2018

Copy link
Copy Markdown
Contributor Author

@wweic @tqchen Thanks a lot! I've updated and waited for CI now

@tqchen
tqchen merged commit f928124 into apache:master Oct 19, 2018
@tqchen

tqchen commented Oct 19, 2018 •

Copy link
Copy Markdown
Member

Thanks @izgzhen @wweic this is now merged

@tqchen tqchen added status: accepted and removed status: need update need update based on feedbacks labels Oct 19, 2018
FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Dec 27, 2018
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
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.

Vectorizing a reduce_axis does not raise an error

3 participants