-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[refactor] Rearrange taichi/common and taichi/util. taichi/core is removed. #979
Conversation
Great but I personally think util is not that usage, it's about |
Yeah, I also feel that |
Thanks for the inputs! How about this:
|
Ack :)
but could you remove functions like |
Sounds good. I would do that in a later PR so that this one has only file movements. |
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.
LGTM, thx!
#include "taichi/common/core.h" | ||
#include "taichi/math/math.h" | ||
#include "util.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.
dict? Move this file to util?
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.
As mentioned above dict
will be removed later.
// Meta-programming | ||
//****************************************************************************** | ||
|
||
#include "meta.h" | ||
#include "taichi/util/meta.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.
Good, don't forget to remove these stuff.
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.
Thanks. As mentioned above these will be done in a later PR so that this one has only file movements.
Not sure it makes sense or not, but when I try to include a file in one of the three folders, I often forget which folder to use. The three folds are essentially doing the same thing...
[Click here for the format server]