-
Notifications
You must be signed in to change notification settings - Fork 169
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
[Dialect] Trace dialect for automatically profiling models #388
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,28 @@ | |||
//===- TraceDialect.h - Trace Dialect Definition --------------------*- C++ -*-===// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong format: 80-col limitation.
|
||
#include "Trace/TraceOpsDialect.h.inc" | ||
|
||
#endif // TRACE_TRACEDIALECT_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an empty line here.
// | ||
//===----------------------------------------------------------------------===// | ||
// | ||
// This is the header file for the bud dialect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bud -> trace
@@ -0,0 +1,47 @@ | |||
//===- TraceDialect.td - Trace Dialect Definition --------------*- tablegen -*-===// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong format: 80-col limitation.
@@ -0,0 +1,40 @@ | |||
//===- TraceOps.h - Trace Dialect Ops -------------------------------*- C++ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong format.
@@ -0,0 +1,84 @@ | |||
//===- TraceDialect.cpp - Trace Dialect Definition-------------------*- C++ | |||
//-*-===// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong format.
@@ -0,0 +1,28 @@ | |||
//===- TraceOps.cpp - Trace Dialect Ops -----------------------------*- C++ | |||
//-*-===// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong format.
examples/TraceDialect/makefile
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use better toolchain configuration: see here
Don't forget to add .gitignore: |
No description provided.