MCPcopy Create free account
hub / github.com/NVIDIA/SOL-ExecBench / generate_kernel_string

Function generate_kernel_string

src/sol_execbench/core/bench/timing.py:299–301  ·  view source on GitHub ↗
(kernel: CuptiKernelInfo)

Source from the content-addressed store, hash-verified

297 pre-allocates all tensors before the benchmark loop, so the timed region
298 is not affected by cudaMalloc times (which increase measured kernel time by 300%).
299
300 Parameters
301 ----------
302 fn : callable
303 The function to benchmark. Receives unpacked arguments each iteration.
304 inputs : list

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected