(df: pd.DataFrame)
| 195 | |
| 196 | |
| 197 | def assign_col_time_ms(df: pd.DataFrame) -> pd.DataFrame: |
| 198 | df["GPU Time (ms)"] = (df["GPU Time (sec)"] * 1e3).round(3) |
| 199 | df["CPU Time (ms)"] = (df["CPU Time (sec)"] * 1e3).round(3) |
| 200 | return df |
| 201 | |
| 202 | |
| 203 | def _as_torch_stream(cs: "nvbench.CudaStream") -> torch.cuda.ExternalStream: |