tilelang.tools.cuda.iket.cli¶
Host-side output and IKET CLI helpers.
Functions¶
|
Set the process-local IKET export directory used by helper APIs. |
|
Return the configured IKET export directory, if any. |
|
Return a path under the configured IKET export directory. |
|
Return generated IKET JSON traces in size-descending order. |
|
Build an IKET CLI command that exports traces to |
Module Contents¶
- tilelang.tools.cuda.iket.cli.set_output_dir(path)¶
Set the process-local IKET export directory used by helper APIs.
- Parameters:
path (str | os.PathLike[str] | None)
- Return type:
pathlib.Path | None
- tilelang.tools.cuda.iket.cli.output_dir(default=None)¶
Return the configured IKET export directory, if any.
- Parameters:
default (str | os.PathLike[str] | None)
- Return type:
pathlib.Path | None
- tilelang.tools.cuda.iket.cli.output_path(name, *, directory=None)¶
Return a path under the configured IKET export directory.
- Parameters:
name (str)
directory (str | os.PathLike[str] | None)
- Return type:
pathlib.Path
- tilelang.tools.cuda.iket.cli.trace_files(*, directory=None)¶
Return generated IKET JSON traces in size-descending order.
- Parameters:
directory (str | os.PathLike[str] | None)
- Return type:
list[pathlib.Path]
- tilelang.tools.cuda.iket.cli.profile_command(command, *, directory, postprocess='all', clobber=True)¶
Build an IKET CLI command that exports traces to
directory.- Parameters:
command (str | collections.abc.Sequence[str])
directory (str | os.PathLike[str])
postprocess (str)
clobber (bool)
- Return type:
str