Prints the provided string and arguments to the output.
(str, args: Iterable[Tile], *, loc=None, ip=None)
| 1696 | |
| 1697 | @cuda_tile_op |
| 1698 | def printf(str, args: Iterable[Tile], *, loc=None, ip=None): |
| 1699 | """Prints the provided string and arguments to the output.""" |
| 1700 | if not all(isinstance(arg, Tile) for arg in args): |
| 1701 | raise TypeError( |
| 1702 | "All elements in 'args' must be of type Tile. Constexpr cannot be printed direclty." |
| 1703 | ) |
| 1704 | _cuda_tile.PrintOp(str, args, loc=loc, ip=ip) |
| 1705 | |
| 1706 | |
| 1707 | def _check_is_rhs_tile(lhs: Tile, rhs: Tile): |
nothing calls this directly
no outgoing calls
no test coverage detected