- Notifications
You must be signed in to change notification settings - Fork 548
MetalPerformanceShadersGraph iOS xcode16.0 b4
Rolf Bjarne Kvinge edited this page Aug 30, 2024 · 3 revisions
#MetalPerformanceShadersGraph.framework https://github.com/xamarin/xamarin-macios/pull/21154
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphArithmeticOps.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphArithmeticOps.h --- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphArithmeticOps.h 2024-06-29 02:56:52 +++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphArithmeticOps.h 2024-07-11 04:15:50 @@ -101,6 +101,17 @@ -(MPSGraphTensor *) squareRootWithTensor:(MPSGraphTensor *) tensor name:(NSString * _Nullable) name; +/// Applies the reciprocal square root operation to the input tensor elements. +/// +/// - Parameters: +/// - tensor: The input tensor. +/// - name: An optional string which serves as an identifier for the operation. +/// - Returns: A valid `MPSGraphTensor` object containing the elementwise result of the applied operation. +-(MPSGraphTensor *) reciprocalSquareRootWithTensor:(MPSGraphTensor *) tensor + name:(NSString * _Nullable) name +MPS_SWIFT_NAME( reciprocalSquareRoot(_:name:) ) +MPS_AVAILABLE_STARTING(macos(15.0), ios(18.0), macCatalyst(18.0), tvos(18.0), xros(2.0)); + /// Applies the reverse square root operation to the input tensor elements. /// /// The reverse square root operation is the reciprocal of the square root. @@ -110,7 +121,9 @@ /// - name: An optional string which serves as an identifier for the operation. /// - Returns: A valid `MPSGraphTensor` object containing the elementwise result of the applied operation. -(MPSGraphTensor *) reverseSquareRootWithTensor:(MPSGraphTensor *) tensor - name:(NSString * _Nullable) name; + name:(NSString * _Nullable) name +MPS_AVAILABLE_STARTING_BUT_DEPRECATED("reciprocalSquareRootWithTensor", + macos(11.0, 15.0), ios(14.0, 18.0), tvos(14.0, 18.0), xros(1.0, 2.0)); /// Applies the reciprocal operation to the input tensor elements. ///