Skip to content

Commit 3548d92

Browse files
njriasanmeta-codesync[bot]
authored andcommitted
[Triton] [Beta] Add latency to the tt.load frontend as a no-op
Summary: Adds latency as a no-op to the tt.load frontend to ensure kernel compatability. This will be replaced with the proper changes from fb experimental once this SEV is resolved. Reviewed By: dhruvak3 Differential Revision: D85875953 fbshipit-source-id: 155f3c267aa4fcc7101bbea0834c304cb40728d0
1 parent bc84bd6 commit 3548d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/triton/language/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,7 @@ def dot_scaled(lhs, lhs_scale, lhs_format, rhs, rhs_scale, rhs_format, acc=None,
20642064

20652065
@builtin
20662066
def load(pointer, mask=None, other=None, boundary_check=(), padding_option="", cache_modifier="", eviction_policy="",
2067-
volatile=False, _semantic=None):
2067+
volatile=False, latency=None, _semantic=None):
20682068
"""
20692069
Return a tensor of data whose values are loaded from memory at location defined by `pointer`:
20702070

0 commit comments

Comments
 (0)