Generate arithmatic binary operations.
(lhs, rhs, op: str, predAtt="", is_reversed=False)
| 837 | |
| 838 | |
| 839 | def _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 | |
| 849 | def _comparison_op( |
nothing calls this directly
no test coverage detected