MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / _binary_op

Function _binary_op

python/cuda_tile/dialects/cuda_tile_ops.py:839–846  ·  view source on GitHub ↗

Generate arithmatic binary operations.

(lhs, rhs, op: str, predAtt="", is_reversed=False)

Source from the content-addressed store, hash-verified

837
838
839def _binary_op(lhs, rhs, op: str, predAtt="", is_reversed=False) -> "Tile":
840 """Generate arithmatic binary operations."""
841
842 rhs = _check_is_rhs_tile(lhs, rhs)
843
844 op = getattr(_cuda_tile, f"{op}Op")
845
846 return return_results(op(lhs, rhs))
847
848
849def _comparison_op(

Callers

nothing calls this directly

Calls 2

_check_is_rhs_tileFunction · 0.85
return_resultsFunction · 0.85

Tested by

no test coverage detected