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

[Type] [refactor] Make PrimitiveTypeID a public enum #1965

Merged
merged 2 commits into from
Oct 16, 2020

Conversation

TH3CHARLie
Copy link
Collaborator

Related issue = #1905

This PR renames PrimitiveType::primitve_type to PrimitiveTypeID, which is needed for a general function required by Type and also fixes the forward declaration issue.

[Click here for the format server]


#include "taichi/inc/data_type.inc.h"
#undef PER_TYPE
};

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The core change, everything else is to pass the build.

Copy link
Member

@yuanming-hu yuanming-hu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! LGTM. Thank you!

@yuanming-hu yuanming-hu merged commit ceea597 into taichi-dev:master Oct 16, 2020
@TH3CHARLie TH3CHARLie deleted the primitive-ID branch October 16, 2020 22:02
@yuanming-hu yuanming-hu mentioned this pull request Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants