You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codex flagged: same-shaped contiguous views with different memory
orders (C-order input + F-order output) both succeeded at
as_slice_memory_order but with mismatched logical indexing — the flat
SIMD primitive wrote sigmoid values into the wrong output coordinates.
Fix: add the same strides-equality guard that hpc/vml.rs already uses
in dispatch_unary_contig / dispatch_binary_contig. Mismatched-stride
inputs now route to the stride-aware Zip cold path.
Adds test_sigmoid_f32_c_in_f_out_mismatched_strides regression:
2x2 C-order input, F-order zero-init output, asserts logical
coordinates carry correct sigmoid values. Activations test count:
16 -> 17.
Reductions are unaffected (read-only commutative/associative — memory
order doesn't change the scalar result). vml unary/binary already
guarded via dispatch_*_contig.
0 commit comments