summaryrefslogtreecommitdiff
path: root/candle-examples/examples/custom-ops/main.rs
diff options
context:
space:
mode:
authorIvar Flakstad <69173633+ivarflakstad@users.noreply.github.com>2024-01-12 07:19:58 +0100
committerIvar Flakstad <69173633+ivarflakstad@users.noreply.github.com>2024-01-12 07:19:58 +0100
commite63bb8661beb4ea139f4e7f1d85f56907d918b2b (patch)
tree2326f731957d56667ba4d432a68f8b37a2b79830 /candle-examples/examples/custom-ops/main.rs
parent87efb5d8eb6a6c3f17acf326aadcb11ad6900306 (diff)
parent41915184bb3e530cc8184fdd8841c66df9285684 (diff)
downloadcandle-e63bb8661beb4ea139f4e7f1d85f56907d918b2b.tar.gz
candle-e63bb8661beb4ea139f4e7f1d85f56907d918b2b.tar.bz2
candle-e63bb8661beb4ea139f4e7f1d85f56907d918b2b.zip
Merge branch 'main' into ivarflakstad/metal-prng
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;