Icemist commented on code in PR #12647:
URL: https://github.com/apache/tvm/pull/12647#discussion_r958703925


##########
python/tvm/topi/adreno/utils.py:
##########
@@ -571,6 +572,39 @@ def get_texture_storage(shape):
         return "global.texture-weight"
 
 
+@register_func("tvm.info.mem.global.texture")
+def mem_info_global_texture():
+    return tvm.ir.make_node(
+        "MemoryInfo",
+        unit_bits=16,
+        max_num_bits=16384 * 16384 * 4 * 32,
+        max_simd_bits=4 * 32,
+        head_address=None,
+    )

Review Comment:
   Good point, I moved this to the separate variables above .



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to