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

MPSNDArray macOS xcode16.0 b3

Rolf Bjarne Kvinge edited this pageAug 30, 2024 ·3 revisions

#MPSNDArray.frameworkhttps://github.com/xamarin/xamarin-macios/pull/21155

diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/Headers/MPSNDArrayKernel.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/Headers/MPSNDArrayKernel.h--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/Headers/MPSNDArrayKernel.h2024-06-12 20:24:24+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/Headers/MPSNDArrayKernel.h2024-06-29 07:40:21@@ -163,6 +163,19 @@                   resultState: (MPSState * __nullable) outGradientState              destinationArray: (MPSNDArray * __nonnull) destination;+/*! @abstract   Encode a simple inference NDArray kernel and return a NDArray to hold the result+ *  @param      encoder                       The MTLComputeCommandEncoder that the kernel will be encoded on+ *  @param      commandBuffer          The command buffer into which to encode the kernel+ *  @param      sourceArrays             The list of sources for the filter in a NSArray.+ *                                Ordering to be defined by subclass+ *  @param      destination               A destination array to contain the result of the calculation+ *              when the command buffer completes successfully. */+-(void) encodeToCommandEncoder: (id <MTLComputeCommandEncoder> _Nullable)encoder+                 commandBuffer: (nonnull id <MTLCommandBuffer>) commandBuffer+                  sourceArrays: (nonnull NSArray <MPSNDArray *> *) sourceArrays+              destinationArray: (nonnull MPSNDArray *) destination+MPS_AVAILABLE_STARTING(macos(15.0), ios(18.0), macCatalyst(18.0), tvos(18.0), xros(2.0));+ @enddiff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/Headers/MPSNDArrayQuantization.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/Headers/MPSNDArrayQuantization.h--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/Headers/MPSNDArrayQuantization.h2024-06-14 00:25:28+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/Headers/MPSNDArrayQuantization.h2024-06-29 08:17:01@@ -80,6 +80,17 @@  */ @property (readwrite, nonatomic) BOOL hasMinValue;+/*! @property implicitZeroPoint+ *  @abstract If true and quantized values are signed, these are assumed to be stored with an+ *            implicit offset or zero-point of 2^(quantizationBitWidth-1) added to bring signed values into unsigned range.+ *            e.g. Int4 values are in range [-8,7]. If we add 8 to it values are in range+ *            [0,15] and can be encoded/stored as UInt4.+ *            Default is false. Its only currently applicable to Int4.+ *            Implementation will generate error for any other data type;+ */+@property (readwrite, nonatomic) bool implicitZeroPoint;++  - (nonnull instancetype) init;
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp