mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-10-31 11:01:27 +01:00
perf: use the shared nsys profile flags in the PixelHistogramCUDA probes
Picks up --cuda-event-trace=false on nsys 2025.1+, as the cf probes do.
This commit is contained in:
1 parent
e80e552497
commit
a81c5e12bd
1 file changed
+2
-2
@@ -62,8 +62,8 @@ def run_one(dtype, n_bins, batch, label, n_frames, chunk, outdir) -> dict | None
|
||||
rep = outdir / f"probe_{label}"
|
||||
print(f"\n--- {label}: {dtype} frames, {n_bins} bins, batch={batch}, N={n_frames} ---")
|
||||
|
||||
prof = [common.NSYS, "profile", "--trace=cuda", "--sample=none",
|
||||
"--cpuctxsw=none", "--force-overwrite=true", "-o", str(rep),
|
||||
prof = [common.NSYS, "profile", *common.nsys_profile_flags(),
|
||||
"-o", str(rep),
|
||||
sys.executable, str(HERE / "nsys_hist_probe.py"),
|
||||
dtype, str(n_frames), str(n_bins), str(batch), str(chunk)]
|
||||
p = subprocess.run(prof, capture_output=True, text=True)
|
||||
|
||||
Reference in new issue
Block a user