We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DataType
const Type *
Currently, types in Taichi are created and owned by:
taichi/taichi/ir/type_factory.h
Line 9 in 77ec1a0
A type with same parameters is only created once, so the pointer to it can serve as its unique identifier, which allows trivial equality check.
Some refactoring tasks:
taichi/taichi/ir/type.h
Lines 53 to 54 in 77ec1a0
The text was updated successfully, but these errors were encountered:
Update type_factory.h
b205d5f
Modifying TypeFactory class functions to be of const type. Issue link: taichi-dev#5167
Type *
Hey, @lin-hitonami are you still working on this ? If not I would like to have a look at this issue. Thanks
Sorry, something went wrong.
@Ris-Bali I'm not working on this. Please go ahead if you want to fix the issue.
Ris-Bali
No branches or pull requests
Currently, types in Taichi are created and owned by:
taichi/taichi/ir/type_factory.h
Line 9 in 77ec1a0
A type with same parameters is only created once, so the pointer to it can serve as its unique identifier, which allows trivial equality check.
Some refactoring tasks:
const Type *
should be used everywhere.taichi/taichi/ir/type.h
Lines 53 to 54 in 77ec1a0
The text was updated successfully, but these errors were encountered: