forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
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 external calling functionality #187
Open
bwasti
wants to merge
294
commits into
bertmaher:pytorch_fusion
Choose a base branch
from
bwasti:nnc
base: pytorch_fusion
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enable Werror
…ts. (pytorch#194) All `test_*` functions are now moved into a test-class (with no changes to them).
* Add rand benchmark. * Add an option to disable texpr fuser.
…remainder (pytorch#198) * Add the cast_float, backward ops and also fix the remainder * fix the conflict * change expr to exprhandle * formatting * fix the linter
* Fix some ir printer bugs * also true_stmt
…rch#142) * Enable axis splitting and GPU grid binding with variable shapes * farwell ExprStmt, we hardly knew ye
* Add workflow.md. * Remove the suggestions from the doc. * Add language reference. * Add language reference. * Address some of the comments.
* Adding bitwise integer ops: &,^,<<, >>
* Add the cast_float, backward ops and also fix the remainder fix the conflict change expr to exprhandle formatting fix the linter add the type_as support * fix the threshold failure
* Aten op: where This require a helper function which does promote types for the condition expression.
* LLVM codgen for fmod, remainder
* fix testATengeInt
This reverts commit 5bf52fa.
The moved code wasnt changed.
bwasti
changed the title
[needs rebase] Add external calling functionality
Add external calling functionality
Feb 27, 2020
ZolotukhinM
force-pushed
the
pytorch_fusion
branch
from
March 4, 2020 00:16
6628d0f
to
36e8a6f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the ability to register external functions directly into the IR.
An example, matmul, is used to show how this registration is done.
This will bootstrap operators that are currently (or always) hard to generate. It also enables composability with other specialized compilers (such as FBGEMM).