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

Clone of #2185 before rebase for reference. #2233

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion csrc/dispatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ class Val;
f(Merge); \
f(Swizzle); \
f(Swizzle2D); \
f(Resize);
f(Resize); \
f(Communication);
#define DISPATCH_FOR_ALL_KIR_EXPRS(f) \
f(Allocate); \
f(Asm); \
Expand Down
1 change: 1 addition & 0 deletions csrc/ir/all_nodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
#include <ir/interface_nodes.h>
#include <ir/internal_nodes.h>
#include <kernel_ir.h>
#include <multidevice/communication.h>
2 changes: 1 addition & 1 deletion csrc/ir/base_nodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ using newObjectFuncType = Expr*(
//! - Constructors need to register with the Fusion after inputs/outputs
//! are defined
//! - Implementation of bool sameAs(...)
//! 2) dispatch.h/.cpp must be updated to include dispatch of the new Val
//! 2) dispatch.h/.cpp must be updated to include dispatch of the new Expr
//! 3) Default mutator function should be added to mutator.h/.cpp
//! 4) Printing functions should be added to ir/iostream.h/.cpp
//! 5) Lower case convenience functions should be added to arith.h/.cpp (If
Expand Down
Loading
Loading