-
Notifications
You must be signed in to change notification settings - Fork 516
MetalPerformanceShadersGraph macOS xcode15.3 b1
Alex Soto edited this page Jan 27, 2024
·
1 revision
#MetalPerformanceShadersGraph.framework
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphExecutable.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphExecutable.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphExecutable.h 2023-10-28 17:58:47
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphExecutable.h 2024-01-10 02:05:56
@@ -69,11 +69,13 @@
typedef NS_ENUM(uint64_t, MPSGraphDeploymentPlatform)
{
/// Deployment platofmr for macOS.
- MPSGraphDeploymentPlatformMacOS MPS_ENUM_AVAILABLE_STARTING(macos(14.0), ios(17.0), tvos(17.0)) MPS_SWIFT_NAME(macOS) = 0L,
+ MPSGraphDeploymentPlatformMacOS MPS_ENUM_AVAILABLE_STARTING(macos(14.0), ios(17.0), tvos(17.0)) MPS_SWIFT_NAME(macOS) = 0L,
/// Deployment target for iOS.
- MPSGraphDeploymentPlatformIOS MPS_ENUM_AVAILABLE_STARTING(macos(14.0), ios(17.0), tvos(17.0)) MPS_SWIFT_NAME(iOS) = 1L,
+ MPSGraphDeploymentPlatformIOS MPS_ENUM_AVAILABLE_STARTING(macos(14.0), ios(17.0), tvos(17.0)) MPS_SWIFT_NAME(iOS) = 1L,
/// Deployment target for tvOS.
- MPSGraphDeploymentPlatformTvOS MPS_ENUM_AVAILABLE_STARTING(macos(14.0), ios(17.0), tvos(17.0)) MPS_SWIFT_NAME(tvOS) = 2L,
+ MPSGraphDeploymentPlatformTvOS MPS_ENUM_AVAILABLE_STARTING(macos(14.0), ios(17.0), tvos(17.0)) MPS_SWIFT_NAME(tvOS) = 2L,
+ /// Deployment target for visionOS.
+ MPSGraphDeploymentPlatformVisionOS MPS_ENUM_AVAILABLE_STARTING( macos(14.4), ios(17.4), macCatalyst(17.4), tvos(17.4), xros(1.1)) MPS_SWIFT_NAME(visionOS) = 3L,
};
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphResizeOps.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphResizeOps.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphResizeOps.h 2023-10-28 17:58:47
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphResizeOps.h 2024-01-10 01:48:07
@@ -11,19 +11,29 @@
NS_ASSUME_NONNULL_BEGIN
+/// The resize mode to use for resizing.
typedef NS_ENUM(NSUInteger, MPSGraphResizeMode)
{
+ /// Samples the nearest neighbor to the pixel coordinate.
MPSGraphResizeNearest MPS_ENUM_AVAILABLE_STARTING(macos(11.0), ios(14.0), tvos(14.0)) MPS_SWIFT_NAME(nearest) = 0L,
+ /// Samples the 4 neighbors to the pixel coordinate and uses bilinear interpolation.
MPSGraphResizeBilinear MPS_ENUM_AVAILABLE_STARTING(macos(11.0), ios(14.0), tvos(14.0)) = 1L,
};
+/// The rounding mode to use when using nearest resize mode.
typedef NS_ENUM(NSUInteger, MPSGraphResizeNearestRoundingMode)
{
+ /// Rounds values to the nearest integer value, with 0.5f offset rounding toward +inf.
MPSGraphResizeNearestRoundingModeRoundPreferCeil MPS_ENUM_AVAILABLE_STARTING(macos(13.0), ios(16.0), tvos(16.0)) MPS_SWIFT_NAME(roundPreferCeil) = 0L,
+ /// Rounds values to the nearest integer value, with 0.5f rounding toward -inf.
MPSGraphResizeNearestRoundingModeRoundPreferFloor MPS_ENUM_AVAILABLE_STARTING(macos(13.0), ios(16.0), tvos(16.0)) = 1L,
+ /// Rounds values toward +inf.
MPSGraphResizeNearestRoundingModeCeil MPS_ENUM_AVAILABLE_STARTING(macos(13.0), ios(16.0), tvos(16.0)) = 2L,
+ /// Rounds values toward -inf.
MPSGraphResizeNearestRoundingModeFloor MPS_ENUM_AVAILABLE_STARTING(macos(13.0), ios(16.0), tvos(16.0)) = 3L,
+ /// Rounds values to the nearest integer value, with 0.5f rounding toward the closest even value.
MPSGraphResizeNearestRoundingModeRoundToEven MPS_ENUM_AVAILABLE_STARTING(macos(13.2), ios(16.3), tvos(16.3)) = 4L,
+ /// Rounds values to the nearest integer value, with 0.5f rounding toward the closest odd value.
MPSGraphResizeNearestRoundingModeRoundToOdd MPS_ENUM_AVAILABLE_STARTING(macos(13.2), ios(16.3), tvos(16.3)) = 5L,
};
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphTensorShapeOps.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphTensorShapeOps.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphTensorShapeOps.h 2023-10-28 17:58:48
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraphTensorShapeOps.h 2024-01-10 02:05:57
@@ -179,6 +179,54 @@
squeezeMask:(uint32_t) squeezeMask
name:(NSString * _Nullable) name;
+/// Creates a strided slice update operation and returns the result tensor.
+///
+/// - Parameters:
+/// - dataTensor: The large tensor that will receive the update.
+/// - updateTensor: The tensor with the new values that will replace values in the dataTensor.
+/// - startsTensor: A Tensor that contains an array of numbers that specify the starting points for each dimension.
+/// - endsTensor: A Tensor that contains an array of numbers that specify the ending points for each dimension.
+/// - stridesTensor: A Tensor that contains an array of numbers that specify the strides for each dimension.
+/// - startMask: A bitmask that indicates dimensions whose `starts` values the operation should ignore.
+/// - endMask: A bitmask that indicates dimensions whose `ends` values the operation should ignore.
+/// - squeezeMask: A bitmask that indicates dimensions the operation will squeeze out from the result.
+/// - name: The name for the operation
+/// - Returns: A valid MPSGraphTensor object
+-(MPSGraphTensor *) sliceUpdateDataTensor:(MPSGraphTensor *) dataTensor
+ updateTensor:(MPSGraphTensor *) updateTensor
+ startsTensor:(MPSGraphTensor *) startsTensor
+ endsTensor:(MPSGraphTensor *) endsTensor
+ stridesTensor:(MPSGraphTensor *) stridesTensor
+ startMask:(uint32_t) startMask
+ endMask:(uint32_t) endMask
+ squeezeMask:(uint32_t) squeezeMask
+ name:(NSString * _Nullable) name
+MPS_AVAILABLE_STARTING(macos(14.4), ios(17.4), tvos(17.4));
+
+/// Creates a strided slice update operation and returns the result tensor.
+///
+/// - Parameters:
+/// - dataTensor: The large tensor that will receive the update.
+/// - updateTensor: The tensor with the new values that will replace values in the dataTensor.
+/// - starts: An array of numbers that specify the starting points for each dimension.
+/// - ends: An array of numbers that specify the ending points for each dimension.
+/// - strides: An array of numbers that specify the strides for each dimension.
+/// - startMask: A bitmask that indicates dimensions whose `starts` values the operation should ignore.
+/// - endMask: A bitmask that indicates dimensions whose `ends` values the operation should ignore.
+/// - squeezeMask: A bitmask that indicates dimensions the operation will squeeze out from the result.
+/// - name: The name for the operation
+/// - Returns: A valid MPSGraphTensor object
+-(MPSGraphTensor *) sliceUpdateDataTensor:(MPSGraphTensor *) dataTensor
+ updateTensor:(MPSGraphTensor *) updateTensor
+ starts:(NSArray<NSNumber *> *) starts
+ ends:(NSArray<NSNumber *> *) ends
+ strides:(NSArray<NSNumber *> *) strides
+ startMask:(uint32_t) startMask
+ endMask:(uint32_t) endMask
+ squeezeMask:(uint32_t) squeezeMask
+ name:(NSString * _Nullable) name
+MPS_AVAILABLE_STARTING(macos(14.4), ios(17.4), tvos(17.4));
+
/// Creates a concatenation operation and returns the result tensor.
///
/// Concatenates two input tensors along the specified dimension. Tensors must be broadcast
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status