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

[codegen] heterogeneous build for c++ #3144

Merged
merged 6 commits into from
May 10, 2019

Conversation

zhiics
Copy link
Member

@zhiics zhiics commented May 7, 2019

We have python version of heterogeneous build. This PR is to make the C++ build support code generation for heterogeneous platform. Therefore, we can use codegen for different cases directly in C++ instead of invoking it from Python through PackedFunc.

@tqchen @yzhliu @jroesch @icemelon9 @masahi @wweic

@jroesch
Copy link
Member

jroesch commented May 8, 2019

@zhiics I just merged @antinucleon's PR updating the build function. It looks like there are conflicts, but it would be great to integrate the two. I would like to minimize the amount of time we have two different code paths.

@zhiics
Copy link
Member Author

zhiics commented May 8, 2019

@jroesch Sure. Let me act on integrating them.

@zhiics zhiics force-pushed the heterogeneous_build branch from 5b68e90 to ce5b485 Compare May 8, 2019 18:12
@zhiics
Copy link
Member Author

zhiics commented May 8, 2019

cc @antinucleon

@antinucleon
Copy link
Contributor

@zhiics Do you have interest to replace python build_module? I think we have all functions ready (may need to polish scope functions)

@zhiics zhiics force-pushed the heterogeneous_build branch from f1c3715 to 13798a8 Compare May 9, 2019 17:31
@zhiics
Copy link
Member Author

zhiics commented May 9, 2019

@antinucleon Sure. I can work on it. But that should be a separate PR.

@antinucleon
Copy link
Contributor

LGTM. I suggest to add/modify current test to fp16, as we have seen a few times around building system with fp16.

@Laurawly Laurawly merged commit 95a323a into apache:master May 10, 2019
@zhiics zhiics deleted the heterogeneous_build branch May 10, 2019 04:36
@zhiics zhiics restored the heterogeneous_build branch May 10, 2019 04:43
@zhiics zhiics deleted the heterogeneous_build branch May 10, 2019 04:44
wweic pushed a commit to wweic/tvm that referenced this pull request May 13, 2019
* heterogeneous build for c++

* merge relay buildmodule to codegen build

* use module split

* use target_host

* remove sse3

* retrigger ci
wweic pushed a commit to neo-ai/tvm that referenced this pull request May 13, 2019
* heterogeneous build for c++

* merge relay buildmodule to codegen build

* use module split

* use target_host

* remove sse3

* retrigger ci
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.

5 participants