diff --git a/python/triton/language/core.py b/python/triton/language/core.py index 97f313de9..e44d706c9 100644 --- a/python/triton/language/core.py +++ b/python/triton/language/core.py @@ -758,6 +758,10 @@ def view(input, shape, _builder=None): shape = [x.value for x in shape] return semantic.view(input, shape, _builder) +@builtin +def reshape(input, shape, _builder=None): + # TODO: should be more than just a view + return view(input, shape, _builder) # ----------------------- # Linear Algebra