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

Class PointerType

python/tvm/ir/type.py:58–71  ·  view source on GitHub ↗

PointerType used in the low-level TIR. Parameters ---------- element_type : tvm.ir.Type The type of pointer's element. storage_scope : str The storage scope into which the pointer addresses.

Source from the content-addressed store, hash-verified

56
57@tvm_ffi.register_object("ir.PointerType")
58class PointerType(Type):
59 """PointerType used in the low-level TIR.
60
61 Parameters
62 ----------
63 element_type : tvm.ir.Type
64 The type of pointer's element.
65
66 storage_scope : str
67 The storage scope into which the pointer addresses.
68 """
69
70 def __init__(self, element_type, storage_scope=""):
71 self.__init_handle_by_constructor__(_ffi_api.PointerType, element_type, storage_scope)
72
73
74@tvm_ffi.register_object("ir.TupleType")

Callers 10

remote_viewMethod · 0.90
decl_bufferFunction · 0.90
test_let_varFunction · 0.90
alloc_layoutFunction · 0.90
_build_expected_implFunction · 0.90
gemm_asyncFunction · 0.90
gemm_async_fnFunction · 0.90

Calls

no outgoing calls

Tested by 8

test_let_varFunction · 0.72
alloc_layoutFunction · 0.72
_build_expected_implFunction · 0.72
gemm_asyncFunction · 0.72
gemm_async_fnFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…