Skip to content

Commit 591e19c

Browse files
committed
Address review comments & fix build
1 parent 25f789e commit 591e19c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

stdlib/public/Differentiation/SIMDDifferentiation.swift.gyb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -456,12 +456,8 @@ where
456456
}
457457
}
458458

459-
%for (Scalar, bits) in [('Float16',16), ('Float',32), ('Double',64)]:
459+
%for (Scalar, bits) in [('Float',32), ('Double',64)]:
460460
% for n in vectorscalarCounts:
461-
% if bits == 16:
462-
#if !((os(macOS) || targetEnvironment(macCatalyst)) && arch(x86_64))
463-
@available(SwiftStdlib 5.3, *)
464-
% end
465461
extension SIMD${n} where Scalar == ${Scalar} {
466462
@inlinable
467463
@_alwaysEmitIntoClient
@@ -481,8 +477,5 @@ extension SIMD${n} where Scalar == ${Scalar} {
481477
return (Self(repeating: value), { v in Self(repeating: v) })
482478
}
483479
}
484-
% if bits == 16:
485-
#endif
486-
% end
487480
% end
488481
%end

0 commit comments

Comments
 (0)