summaryrefslogtreecommitdiff
path: root/candle-core/benches/benchmarks/unary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-core/benches/benchmarks/unary.rs')
-rw-r--r--candle-core/benches/benchmarks/unary.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-core/benches/benchmarks/unary.rs b/candle-core/benches/benchmarks/unary.rs
index a8e0d025..9efd7509 100644
--- a/candle-core/benches/benchmarks/unary.rs
+++ b/candle-core/benches/benchmarks/unary.rs
@@ -12,7 +12,7 @@ fn run_unary_benchmark(c: &mut Criterion, device: &Device, dtype: DType, name: &
let m = 1024;
let k = 1024;
- let tensor = Tensor::arange(0.0f32, (b * m * k) as f32, &device)
+ let tensor = Tensor::arange(0.0f32, (b * m * k) as f32, device)
.unwrap()
.to_dtype(dtype)
.unwrap()