Skip to content

Conversation

@LeiWang1999
Copy link
Contributor

This pull request introduces a new method is_vector to the DataType class and updates various parts of the codebase to use this method for checking if a type is a vector.

This commit refactors the `data_type.h` and `c_runtime_api.h` files. It introduces a new function `is_vector()` in the `DataType` class to check if a type is a vector type. Additionally, it adds a new constant `kTVMGridConstant` in the `TVMTypeCode` enum in `c_runtime_api.h`. These changes improve the code organization and provide better support for vector types.
@Hzfengsy Hzfengsy merged commit ff0b07b into apache:main Oct 6, 2024
18 of 19 checks passed
@LeiWang1999 LeiWang1999 deleted the datatype_extent branch November 14, 2024 05:45
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.

2 participants