Fix forward: the arrays device test makes its second set 1 with the one argument left
clippy under --cfg m2v_gpu and --cfg m2v_cpu_icd (job m3-max-85038) found set_1_is_filled_at_creation passing the second-element switch that the dead-path deletion removed from Arrays::new.
This commit is contained in:
1 parent
24cb048066
commit
8947c4a8d4
1 file changed
+1
-1
@@ -256,7 +256,7 @@ mod on_device {
|
||||
let start = Instant::now();
|
||||
// SAFETY: the device is live and made at the floor.
|
||||
let buffers = core.translator.profile().binds_kernel_buffers();
|
||||
let second = unsafe { Arrays::new(&core.device, &counters, (false, buffers)) }
|
||||
let second = unsafe { Arrays::new(&core.device, &counters, buffers) }
|
||||
.unwrap_or_else(|error| panic!("{name}: a second set 1: {error}"));
|
||||
let micros = start.elapsed().as_micros();
|
||||
assert_eq!(counters.gauges().device_samplers, 4, "{name}");
|
||||
|
||||
Reference in new issue
Block a user