csullivan commented on a change in pull request #7686:
URL: https://github.com/apache/tvm/pull/7686#discussion_r632596678



##########
File path: include/tvm/ir/type.h
##########
@@ -181,6 +181,55 @@ class PointerType : public Type {
   TVM_DEFINE_OBJECT_REF_METHODS(PointerType, Type, PointerTypeNode);
 };
 
+/*!
+ * \brief Low-level texture type.
+ *
+ *  TextureType represents type hints in the TIR to be
+ *  passed to the final code generator.
+ *
+ *  TextureType should not occur in the high-level analysis.
+ *
+ * \sa TextureType
+ */
+class TextureTypeNode : public TypeNode {
+ public:
+  /*!
+   * \brief The base type of the texture.
+   */

Review comment:
       A storage specific type or scope is helpful in the IR so it can be 
tracked throughout various transformations including during 
[codegen](https://github.com/apache/tvm/pull/7686/files#diff-ee4125c7c00371317aff30351177693f0449409f24477f5f85cba7110d988616R216).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to