Remove unused config param from WriteBackendMethods::autodiff

This commit is contained in:
bjorn3
2025-07-03 16:09:10 +00:00
parent 9a3aa8fdb1
commit 8d63c7a1d6
5 changed files with 2 additions and 8 deletions

View File

@@ -999,8 +999,7 @@ fn execute_fat_lto_work_item<B: ExtraBackendMethods>(
B::run_fat_lto(cgcx, needs_fat_lto, import_only_modules).unwrap_or_else(|e| e.raise());
if !autodiff.is_empty() {
let config = cgcx.config(ModuleKind::Regular);
if let Err(err) = B::autodiff(cgcx, &module, autodiff, config) {
if let Err(err) = B::autodiff(cgcx, &module, autodiff) {
err.raise();
}
}