MCPcopy Create free account
hub / github.com/apache/tvm / test_decl_buffer

Function test_decl_buffer

tests/python/tirx/transform/test_stmt_functor.py:940–947  ·  view source on GitHub ↗

Test buffer declaration statement.

()

Source from the content-addressed store, hash-verified

938
939
940def test_decl_buffer():
941 """Test buffer declaration statement."""
942 buffer_decl = create_test_statements()["decl_buffer"]
943 basic_check(
944 buffer_decl,
945 "\n".join(["DeclBuffer", "\tEvaluate", "\t\tAdd", "\t\t\tVar", "\t\t\tIntImm"]),
946 "\n".join(["Var", "IntImm", "Add", "Evaluate", "DeclBuffer"]),
947 )
948
949
950def test_op_call():

Callers

nothing calls this directly

Calls 3

create_test_statementsFunction · 0.70
basic_checkFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…