MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / logging_prefix

Function logging_prefix

python/cutlass_library/generator.py:49–53  ·  view source on GitHub ↗

String prefix for start of each debug log entry

(indent_level: int = 0)

Source from the content-addressed store, hash-verified

47_LOGGER = logging.getLogger(__name__)
48
49def logging_prefix(indent_level: int = 0) -> str:
50 """String prefix for start of each debug log entry"""
51 prefix = '*** '
52 indent = ' '
53 return f"{prefix}{indent_level * indent}"
54
55def log_debug_line(line: str, indent_level: int = 0) -> None:
56 """Log one line of debug output"""

Callers 1

log_debug_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected