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

Function printf

python/cuda_tile/dialects/cuda_tile_ops.py:1698–1704  ·  view source on GitHub ↗

Prints the provided string and arguments to the output.

(str, args: Iterable[Tile], *, loc=None, ip=None)

Source from the content-addressed store, hash-verified

1696
1697@cuda_tile_op
1698def 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
1707def _check_is_rhs_tile(lhs: Tile, rhs: Tile):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected