Skip to content

Commit

Permalink
Tweak the custom-ops build.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Jan 12, 2024
1 parent 9a98363 commit f26cc2e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions candle-examples/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,5 @@ fn main() -> Result<()> {
bindings.write(kdir.rust_target).unwrap()
}
}
#[cfg(not(feature = "cuda"))]
{
for kdir in KERNEL_DIRS.iter() {
let _file = std::fs::File::create(kdir.rust_target)?;
}
}
Ok(())
}

0 comments on commit f26cc2e

Please sign in to comment.