Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion python/CuTeDSL/cutlass/base_dsl/_mlir_helpers/arith.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,8 @@ def wrapper(self, other, **kwargs):
def _binary_op(op):
"""
Decorator to check if the 'other' argument is an ArithValue.
If not, returns NotImplemented.
If 'other' is a Python scalar (int, float, bool), it is cast to a constant
MLIR value matching the type and signedness of 'self'.
"""

def wrapper(self, other, **kwargs):
Expand Down