# tensorplay.cuda.tunable.set_filename Source: https://www.tensorplay.cn/docs/generated/tensorplay.cuda.tunable.set_filename.html ```python tensorplay.cuda.tunable.set_filename(filename: str, insert_device_ordinal: bool = False) → None ``` Set the file used to persist tuning results. If insert_device_ordinal is True, the current device ordinal is embedded in the name (a %d token is replaced in place, otherwise the ordinal lands before the extension). This keeps one-process-per-device runs from sharing a file. An empty filename turns file persistence off.