Skip to content

Metal macOS xcode27.0 b5

Alex Soto edited this page Aug 10, 2026 · 1 revision

#Metal.framework

diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h	2026-07-11 03:51:51
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h	2026-08-04 03:34:12
@@ -1328,11 +1328,13 @@
                                             error:(NSError *__nullable*)error
                                             API_AVAILABLE(macos(15.0), ios(18.0));
 
-/// Determines the size and alignment required to hold the data of a tensor you create with a descriptor in a buffer.
+/// Determines the size and alignment required to hold the data plane of a tensor you create with a descriptor in a buffer.
 ///
+/// This method requires that `descriptor` does not configure any auxiliary planes.
+///
 /// - Parameters:
-///    - descriptor: A description of the properties for the new tensor.
-/// - Returns: The size and alignment required to hold the data of a tensor you create with `descriptor` in a buffer.
+///    - descriptor: The tensor descriptor configuring the data plane.
+/// - Returns: The size and alignment required to hold the data plane of a tensor you create with `descriptor` in a buffer.
 - (MTLSizeAndAlign)tensorSizeAndAlignWithDescriptor:(MTLTensorDescriptor *)descriptor API_AVAILABLE(macos(26.0), ios(26.0));
 
 /// Creates a tensor with the specified descriptor.

Clone this wiki locally