Skip to content

benchmarks.KernelBench.iree_run_subprocess

Source: benchmarks/KernelBench/iree_run_subprocess.py

benchmarks.KernelBench.iree_run_subprocess

generate_reports(report, start_time, end_time)

Generates JSON and Markdown summary reports.

load_kernel_module(kernel_file)

Dynamically loads a Python module from a given file path. (Identical to the compilation script version)

main()

Main execution function.

parse_args()

Parse command-line arguments.

prepare_inputs_for_iree(raw_inputs_list)

Converts inputs from get_inputs() to NumPy arrays suitable for IREE. Handles Tensors and basic Python numeric types.

setup_logging()

Configures logging to both file and console.