Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MetalPerformanceShadersGraph iOS xcode26.0 b5

Rolf Bjarne Kvinge edited this pageAug 8, 2025 ·2 revisions

#MetalPerformanceShadersGraph.frameworkhttps://github.com/dotnet/macios/pull/23417

diff -ruN /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraph.h /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraph.h--- /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraph.h2025-07-12 00:03:56+++ /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Headers/MPSGraph.h2025-07-25 20:54:46@@ -57,6 +57,21 @@     MPSGraphExecutionStageCompleted                        MPS_ENUM_AVAILABLE_STARTING(macos(13.0), ios(16.0), tvos(16.0)) MPS_SWIFT_NAME(completed) =   0L, };++///  MPSGraph could use these reduced precision paths to deliver faster math, but it is not guaranteed.+typedef NS_OPTIONS(NSUInteger, MPSGraphReducedPrecisionFastMath)+{+    /// Full precision math with maximum accuracy.+    MPSGraphReducedPrecisionFastMathNone                                               MPS_SWIFT_NAME(none) = 0,+    /// Execute winograd transform intermediate as FP16.+    MPSGraphReducedPrecisionFastMathAllowFP16Conv2DWinogradTransformIntermediate                            = 1 << 1,+    /// Curated list allowing intermediates for multi-pass GPU kernels to be FP16.+    MPSGraphReducedPrecisionFastMathAllowFP16Intermediates                                                  = MPSGraphReducedPrecisionFastMathAllowFP16Conv2DWinogradTransformIntermediate,+    /// Default selection.+    MPSGraphReducedPrecisionFastMathDefault                                                                 = MPSGraphReducedPrecisionFastMathNone,+} MPS_AVAILABLE_STARTING(macos(26.0), ios(26.0));++ /// A dictionary of tensors and corresponding tensor data. MPS_AVAILABLE_STARTING(macos(11.0), ios(14.0), tvos(14.0)) typedef NSDictionary<MPSGraphTensor*, MPSGraphTensorData *> MPSGraphTensorDataDictionary;@@ -125,6 +140,9 @@  /// The dictionary used during runtime to lookup the ``MPSGraphExecutable`` which correspond to the ``symbolName``. @property (readwrite, atomic, nullable) MPSGraphCallableMap *callables MPS_AVAILABLE_STARTING(macos(14.1), ios(17.1), tvos(17.1));++/// Across the executable allow reduced precision fast math optimizations.+@property (readwrite, atomic) MPSGraphReducedPrecisionFastMath reducedPrecisionFastMath MPS_AVAILABLE_STARTING(macos(26.0), ios(26.0));  @end

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp