summaryrefslogtreecommitdiff
path: root/candle-examples/examples/custom-ops/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-examples/examples/custom-ops/main.rs')
-rw-r--r--candle-examples/examples/custom-ops/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/candle-examples/examples/custom-ops/main.rs b/candle-examples/examples/custom-ops/main.rs
index f2f534dc..30e413c1 100644
--- a/candle-examples/examples/custom-ops/main.rs
+++ b/candle-examples/examples/custom-ops/main.rs
@@ -6,7 +6,8 @@
#[cfg(feature = "mkl")]
extern crate intel_mkl_src;
-#[allow(unused)]
+#[rustfmt::skip]
+#[cfg(feature = "cuda")]
mod cuda_kernels;
use clap::Parser;