You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/08/30 16:36:39 UTC

[GitHub] [tvm] Icemist commented on a diff in pull request #12647: Define memory_info for global.texture*

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org