pyobjc-framework-MetalPerformanceShaders 12.1__tar.gz → 12.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Lib/MetalPerformanceShaders/_metadata.py +229 -2
  2. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/PKG-INFO +3 -3
  3. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/SOURCES.txt +2 -2
  4. pyobjc_framework_metalperformanceshaders-12.2/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_metalperformanceshaders-12.2/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Modules/pyobjc-compat.h +5 -2
  7. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PKG-INFO +3 -3
  8. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpscoretypes.py +8 -0
  9. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/metadata/MetalPerformanceShaders.fwinfo +1 -1
  10. pyobjc_framework_metalperformanceshaders-12.1/metadata/raw/arm64-26.0.fwinfo → pyobjc_framework_metalperformanceshaders-12.2/metadata/raw/arm64-26.5.fwinfo +18051 -321
  11. pyobjc_framework_metalperformanceshaders-12.1/metadata/raw/x86_64-26.0.fwinfo → pyobjc_framework_metalperformanceshaders-12.2/metadata/raw/x86_64-26.5.fwinfo +18051 -321
  12. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/setup.py +1 -1
  13. pyobjc_framework_metalperformanceshaders-12.1/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/pyobjc-build-info.txt +0 -3
  14. pyobjc_framework_metalperformanceshaders-12.1/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/requires.txt +0 -2
  15. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Lib/MetalPerformanceShaders/__init__.py +0 -0
  16. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/dependency_links.txt +0 -0
  17. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/not-zip-safe +0 -0
  18. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/top_level.txt +0 -0
  19. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/License.txt +0 -0
  20. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/MANIFEST.in +0 -0
  21. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Modules/_MetalPerformanceShaders.m +0 -0
  22. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Modules/_MetalPerformanceShaders_inlines.m +0 -0
  23. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Modules/_MetalPerformanceShaders_protocols.m +0 -0
  24. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/Modules/pyobjc-api.h +0 -0
  25. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/__init__.py +0 -0
  26. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_metalperformanceshaders.py +0 -0
  27. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpscommandbuffer.py +0 -0
  28. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpsfunctionconstantindices.py +0 -0
  29. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpsimage.py +0 -0
  30. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpskerneltypes.py +0 -0
  31. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpskeyedunarchiver.py +0 -0
  32. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpsndarray.py +0 -0
  33. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpsndarrayidentity.py +0 -0
  34. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpsndarrayquantization.py +0 -0
  35. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpscore_mpsstate.py +0 -0
  36. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsimage_mpsimageconvolution.py +0 -0
  37. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsimage_mpsimagehistogram.py +0 -0
  38. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsimage_mpsimagekernel.py +0 -0
  39. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsimage_mpsimagekeypoint.py +0 -0
  40. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsimage_mpsimagemorphology.py +0 -0
  41. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsimage_mpsimagethreshold.py +0 -0
  42. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsimage_mpsimagetypes.py +0 -0
  43. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsmatrix_mpsmatrixcombination.py +0 -0
  44. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsmatrix_mpsmatrixdecomposition.py +0 -0
  45. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsmatrix_mpsmatrixmultiplication.py +0 -0
  46. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsmatrix_mpsmatrixrandom.py +0 -0
  47. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsmatrix_mpsmatrixsolve.py +0 -0
  48. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsmatrix_mpsndarraymultiarykernel.py +0 -0
  49. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsndarray_mpsndarraytypes.py +0 -0
  50. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnconvolution.py +0 -0
  51. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnngroupnormalization.py +0 -0
  52. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnninstancenormalization.py +0 -0
  53. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnkernel.py +0 -0
  54. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnloss.py +0 -0
  55. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnmath.py +0 -0
  56. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnneuraltypes.py +0 -0
  57. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnntypes.py +0 -0
  58. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnupsampling.py +0 -0
  59. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsmatrixbatchnormalization.py +0 -0
  60. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsmatrixsum.py +0 -0
  61. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsneuralnetworktypes.py +0 -0
  62. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsnnbatchnormalization.py +0 -0
  63. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsnngraph.py +0 -0
  64. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsnngraphnodes.py +0 -0
  65. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsnngridsample.py +0 -0
  66. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsnnoptimzers.py +0 -0
  67. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsnnreshape.py +0 -0
  68. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsnnresize.py +0 -0
  69. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsneuralnetwork_mpsrnnlayer.py +0 -0
  70. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsrayintersector_mpsaccelerationstructure.py +0 -0
  71. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsrayintersector_mpsinstanceaccelerationstructure.py +0 -0
  72. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsrayintersector_mpspolygonaccelerationstructure.py +0 -0
  73. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsrayintersector_mpsrayintersector.py +0 -0
  74. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsrayintersector_mpsrayintersectortypes.py +0 -0
  75. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/PyObjCTest/test_mpsrayintersector_mpssvgf.py +0 -0
  76. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/metadata/metadata.ini +0 -0
  77. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/pyobjc_setup.py +0 -0
  78. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/pyproject.toml +0 -0
  79. {pyobjc_framework_metalperformanceshaders-12.1 → pyobjc_framework_metalperformanceshaders-12.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Thu Jul 24 13:05:50 2025
3
+ # Last update: Thu May 28 22:14:07 2026
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -257,7 +257,7 @@ misc.update(
257
257
  }
258
258
  )
259
259
  constants = """$MPSRectNoClip@{MTLRegion={MTLOrigin=QQQ}{MTLSize=QQQ}}$"""
260
- enums = """$MPSAccelerationStructureStatusBuilt@1$MPSAccelerationStructureStatusUnbuilt@0$MPSAccelerationStructureUsageFrequentRebuild@2$MPSAccelerationStructureUsageNone@0$MPSAccelerationStructureUsagePreferCPUBuild@8$MPSAccelerationStructureUsagePreferGPUBuild@4$MPSAccelerationStructureUsageRefit@1$MPSAliasingStrategyAliasingReserved@3$MPSAliasingStrategyDefault@0$MPSAliasingStrategyDontCare@0$MPSAliasingStrategyPreferNonTemporaryMemory@8$MPSAliasingStrategyPreferTemporaryMemory@4$MPSAliasingStrategyShallAlias@1$MPSAliasingStrategyShallNotAlias@2$MPSAlphaTypeAlphaIsOne@1$MPSAlphaTypeNonPremultiplied@0$MPSAlphaTypePremultiplied@2$MPSBoundingBoxIntersectionTestTypeAxisAligned@1$MPSBoundingBoxIntersectionTestTypeDefault@0$MPSBoundingBoxIntersectionTestTypeFast@2$MPSCNNBatchNormalizationFlagsCalculateStatisticsAlways@1$MPSCNNBatchNormalizationFlagsCalculateStatisticsAutomatic@0$MPSCNNBatchNormalizationFlagsCalculateStatisticsMask@3$MPSCNNBatchNormalizationFlagsCalculateStatisticsNever@2$MPSCNNBatchNormalizationFlagsDefault@0$MPSCNNBinaryConvolutionFlagsNone@0$MPSCNNBinaryConvolutionFlagsUseBetaScaling@1$MPSCNNBinaryConvolutionTypeAND@2$MPSCNNBinaryConvolutionTypeBinaryWeights@0$MPSCNNBinaryConvolutionTypeXNOR@1$MPSCNNConvolutionFlagsNone@0$MPSCNNConvolutionGradientOptionAll@3$MPSCNNConvolutionGradientOptionGradientWithData@1$MPSCNNConvolutionGradientOptionGradientWithWeightsAndBias@2$MPSCNNConvolutionWeightsLayoutOHWI@0$MPSCNNLossTypeCategoricalCrossEntropy@4$MPSCNNLossTypeCosineDistance@7$MPSCNNLossTypeCount@10$MPSCNNLossTypeHinge@5$MPSCNNLossTypeHuber@6$MPSCNNLossTypeKullbackLeiblerDivergence@9$MPSCNNLossTypeLog@8$MPSCNNLossTypeMeanAbsoluteError@0$MPSCNNLossTypeMeanSquaredError@1$MPSCNNLossTypeSigmoidCrossEntropy@3$MPSCNNLossTypeSoftMaxCrossEntropy@2$MPSCNNNeuronTypeAbsolute@6$MPSCNNNeuronTypeCount@16$MPSCNNNeuronTypeELU@9$MPSCNNNeuronTypeExponential@13$MPSCNNNeuronTypeGeLU@15$MPSCNNNeuronTypeHardSigmoid@4$MPSCNNNeuronTypeLinear@2$MPSCNNNeuronTypeLogarithm@14$MPSCNNNeuronTypeNone@0$MPSCNNNeuronTypePReLU@10$MPSCNNNeuronTypePower@12$MPSCNNNeuronTypeReLU@1$MPSCNNNeuronTypeReLUN@11$MPSCNNNeuronTypeSigmoid@3$MPSCNNNeuronTypeSoftPlus@7$MPSCNNNeuronTypeSoftSign@8$MPSCNNNeuronTypeTanH@5$MPSCNNReductionTypeCount@4$MPSCNNReductionTypeMean@2$MPSCNNReductionTypeNone@0$MPSCNNReductionTypeSum@1$MPSCNNReductionTypeSumByNonZeroWeights@3$MPSCNNWeightsQuantizationTypeLinear@1$MPSCNNWeightsQuantizationTypeLookupTable@2$MPSCNNWeightsQuantizationTypeNone@0$MPSCustomKernelIndexDestIndex@0$MPSCustomKernelIndexSrc0Index@0$MPSCustomKernelIndexSrc1Index@1$MPSCustomKernelIndexSrc2Index@2$MPSCustomKernelIndexSrc3Index@3$MPSCustomKernelIndexSrc4Index@4$MPSCustomKernelIndexUserDataIndex@30$MPSDataLayoutFeatureChannelsxHeightxWidth@1$MPSDataLayoutHeightxWidthxFeatureChannels@0$MPSDataTypeAlternateEncodingBit@2147483648$MPSDataTypeBFloat16@2415919120$MPSDataTypeBool@2147483656$MPSDataTypeComplexBit@16777216$MPSDataTypeComplexFloat16@285212704$MPSDataTypeComplexFloat32@285212736$MPSDataTypeFloat16@268435472$MPSDataTypeFloat32@268435488$MPSDataTypeFloatBit@268435456$MPSDataTypeInt16@536870928$MPSDataTypeInt2@536870914$MPSDataTypeInt32@536870944$MPSDataTypeInt4@536870916$MPSDataTypeInt64@536870976$MPSDataTypeInt8@536870920$MPSDataTypeIntBit@536870912$MPSDataTypeInvalid@0$MPSDataTypeNormalizedBit@1073741824$MPSDataTypeSignedBit@536870912$MPSDataTypeUInt16@16$MPSDataTypeUInt2@2$MPSDataTypeUInt32@32$MPSDataTypeUInt4@4$MPSDataTypeUInt64@64$MPSDataTypeUInt8@8$MPSDataTypeUnorm1@1073741825$MPSDataTypeUnorm8@1073741832$MPSDeviceCapsIndex@127$MPSDeviceCapsNull@0$MPSDeviceIsAppleDevice@1024$MPSDeviceOptionsDefault@0$MPSDeviceOptionsLowPower@1$MPSDeviceOptionsSkipRemovable@2$MPSDeviceSupportsBFloat16Arithmetic@4096$MPSDeviceSupportsFloat16BicubicFiltering@512$MPSDeviceSupportsFloat32Filtering@128$MPSDeviceSupportsNorm16BicubicFiltering@256$MPSDeviceSupportsQuadShuffle@16$MPSDeviceSupportsReadWriteTextures@4$MPSDeviceSupportsReadableArrayOfTextures@1$MPSDeviceSupportsSimdReduction@64$MPSDeviceSupportsSimdShuffle@32$MPSDeviceSupportsSimdShuffleAndFill@2048$MPSDeviceSupportsSimdgroupBarrier@8$MPSDeviceSupportsWritableArrayOfTextures@2$MPSFloatDataTypeExponentBit@8126464$MPSFloatDataTypeExponentShift@18$MPSFloatDataTypeMantissaBit@261120$MPSFloatDataTypeMantissaShift@10$MPSFloatDataTypeSignBit@8388608$MPSFloatDataTypeSignShift@23$MPSFunctionConstantNone@-1$MPSImageEdgeModeClamp@1$MPSImageEdgeModeConstant@4$MPSImageEdgeModeMirror@2$MPSImageEdgeModeMirrorWithEdge@3$MPSImageEdgeModeZero@0$MPSImageFeatureChannelFormatCount@6$MPSImageFeatureChannelFormatFloat16@3$MPSImageFeatureChannelFormatFloat32@4$MPSImageFeatureChannelFormatNone@0$MPSImageFeatureChannelFormatUnorm16@2$MPSImageFeatureChannelFormatUnorm8@1$MPSImageFeatureChannelFormat_reserved0@5$MPSImageType2d@0$MPSImageType2d_array@1$MPSImageType2d_array_noAlpha@5$MPSImageType2d_noAlpha@4$MPSImageTypeArray2d@2$MPSImageTypeArray2d_array@3$MPSImageTypeArray2d_array_noAlpha@7$MPSImageTypeArray2d_noAlpha@6$MPSImageType_ArrayMask@1$MPSImageType_BatchMask@2$MPSImageType_bitCount@6$MPSImageType_mask@63$MPSImageType_noAlpha@4$MPSImageType_texelFormatBFloat16@24$MPSImageType_texelFormatFloat16@16$MPSImageType_texelFormatMask@56$MPSImageType_texelFormatShift@3$MPSImageType_texelFormatStandard@0$MPSImageType_texelFormatUnorm8@8$MPSImageType_typeMask@3$MPSIntersectionDataTypeDistance@0$MPSIntersectionDataTypeDistancePrimitiveIndex@1$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndex@5$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexCoordinates@6$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexInstanceIndex@7$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates@8$MPSIntersectionDataTypeDistancePrimitiveIndexCoordinates@2$MPSIntersectionDataTypeDistancePrimitiveIndexInstanceIndex@3$MPSIntersectionDataTypeDistancePrimitiveIndexInstanceIndexCoordinates@4$MPSIntersectionTypeAny@1$MPSIntersectionTypeNearest@0$MPSKernelOptionsAllowReducedPrecision@2$MPSKernelOptionsDisableInternalTiling@4$MPSKernelOptionsInsertDebugGroups@8$MPSKernelOptionsNone@0$MPSKernelOptionsSkipAPIValidation@1$MPSKernelOptionsVerbose@16$MPSKernelTypes_h@1$MPSMatrixDecompositionStatusFailure@-1$MPSMatrixDecompositionStatusNonPositiveDefinite@-3$MPSMatrixDecompositionStatusSingular@-2$MPSMatrixDecompositionStatusSuccess@0$MPSMatrixRandomDistributionDefault@1$MPSMatrixRandomDistributionNormal@3$MPSMatrixRandomDistributionUniform@2$MPSNDArrayQuantizationTypeAffine@1$MPSNDArrayQuantizationTypeLUT@2$MPSNDArrayQuantizationTypeNone@0$MPSNNComparisonTypeEqual@0$MPSNNComparisonTypeGreater@4$MPSNNComparisonTypeGreaterOrEqual@5$MPSNNComparisonTypeLess@2$MPSNNComparisonTypeLessOrEqual@3$MPSNNComparisonTypeNotEqual@1$MPSNNConvolutionAccumulatorPrecisionOptionFloat@1$MPSNNConvolutionAccumulatorPrecisionOptionHalf@0$MPSNNPaddingMethodAddRemainderToBottomLeft@8$MPSNNPaddingMethodAddRemainderToBottomRight@12$MPSNNPaddingMethodAddRemainderToMask@12$MPSNNPaddingMethodAddRemainderToTopLeft@0$MPSNNPaddingMethodAddRemainderToTopRight@4$MPSNNPaddingMethodAlignBottomRight@2$MPSNNPaddingMethodAlignCentered@0$MPSNNPaddingMethodAlignMask@3$MPSNNPaddingMethodAlignTopLeft@1$MPSNNPaddingMethodAlign_reserved@3$MPSNNPaddingMethodCustom@16384$MPSNNPaddingMethodCustomAllowForNodeFusion@8192$MPSNNPaddingMethodCustomWhitelistForNodeFusion@8192$MPSNNPaddingMethodExcludeEdges@32768$MPSNNPaddingMethodSizeFull@32$MPSNNPaddingMethodSizeMask@2032$MPSNNPaddingMethodSizeSame@16$MPSNNPaddingMethodSizeValidOnly@0$MPSNNPaddingMethodSize_reserved@48$MPSNNRegularizationTypeL1@1$MPSNNRegularizationTypeL2@2$MPSNNRegularizationTypeNone@0$MPSNNTrainingStyleUpdateDeviceCPU@1$MPSNNTrainingStyleUpdateDeviceGPU@2$MPSNNTrainingStyleUpdateDeviceNone@0$MPSPolygonTypeQuadrilateral@1$MPSPolygonTypeTriangle@0$MPSPurgeableStateAllocationDeferred@0$MPSPurgeableStateEmpty@4$MPSPurgeableStateKeepCurrent@1$MPSPurgeableStateNonVolatile@2$MPSPurgeableStateVolatile@3$MPSRNNBidirectionalCombineModeAdd@1$MPSRNNBidirectionalCombineModeConcatenate@2$MPSRNNBidirectionalCombineModeNone@0$MPSRNNMatrixIdGRUInputGateBiasTerms@21$MPSRNNMatrixIdGRUInputGateInputWeights@19$MPSRNNMatrixIdGRUInputGateRecurrentWeights@20$MPSRNNMatrixIdGRUOutputGateBiasTerms@28$MPSRNNMatrixIdGRUOutputGateInputGateWeights@27$MPSRNNMatrixIdGRUOutputGateInputWeights@25$MPSRNNMatrixIdGRUOutputGateRecurrentWeights@26$MPSRNNMatrixIdGRURecurrentGateBiasTerms@24$MPSRNNMatrixIdGRURecurrentGateInputWeights@22$MPSRNNMatrixIdGRURecurrentGateRecurrentWeights@23$MPSRNNMatrixIdLSTMForgetGateBiasTerms@10$MPSRNNMatrixIdLSTMForgetGateInputWeights@7$MPSRNNMatrixIdLSTMForgetGateMemoryWeights@9$MPSRNNMatrixIdLSTMForgetGateRecurrentWeights@8$MPSRNNMatrixIdLSTMInputGateBiasTerms@6$MPSRNNMatrixIdLSTMInputGateInputWeights@3$MPSRNNMatrixIdLSTMInputGateMemoryWeights@5$MPSRNNMatrixIdLSTMInputGateRecurrentWeights@4$MPSRNNMatrixIdLSTMMemoryGateBiasTerms@14$MPSRNNMatrixIdLSTMMemoryGateInputWeights@11$MPSRNNMatrixIdLSTMMemoryGateMemoryWeights@13$MPSRNNMatrixIdLSTMMemoryGateRecurrentWeights@12$MPSRNNMatrixIdLSTMOutputGateBiasTerms@18$MPSRNNMatrixIdLSTMOutputGateInputWeights@15$MPSRNNMatrixIdLSTMOutputGateMemoryWeights@17$MPSRNNMatrixIdLSTMOutputGateRecurrentWeights@16$MPSRNNMatrixIdSingleGateBiasTerms@2$MPSRNNMatrixIdSingleGateInputWeights@0$MPSRNNMatrixIdSingleGateRecurrentWeights@1$MPSRNNMatrixId_count@29$MPSRNNSequenceDirectionBackward@1$MPSRNNSequenceDirectionForward@0$MPSRayDataTypeOriginDirection@0$MPSRayDataTypeOriginMaskDirectionMaxDistance@2$MPSRayDataTypeOriginMinDistanceDirectionMaxDistance@1$MPSRayDataTypePackedOriginDirection@3$MPSRayMaskOperatorAnd@0$MPSRayMaskOperatorEqual@10$MPSRayMaskOperatorGreaterThan@8$MPSRayMaskOperatorGreaterThanOrEqualTo@9$MPSRayMaskOperatorLessThan@6$MPSRayMaskOperatorLessThanOrEqualTo@7$MPSRayMaskOperatorNotAnd@1$MPSRayMaskOperatorNotEqual@11$MPSRayMaskOperatorNotOr@3$MPSRayMaskOperatorNotXor@5$MPSRayMaskOperatorOr@2$MPSRayMaskOperatorXor@4$MPSRayMaskOptionInstance@2$MPSRayMaskOptionNone@0$MPSRayMaskOptionPrimitive@1$MPSStateResourceTypeBuffer@1$MPSStateResourceTypeNone@0$MPSStateResourceTypeTexture@2$MPSTemporalWeightingAverage@0$MPSTemporalWeightingExponentialMovingAverage@1$MPSTransformTypeFloat4x4@0$MPSTransformTypeIdentity@1$MPSTriangleIntersectionTestTypeDefault@0$MPSTriangleIntersectionTestTypeWatertight@1$MetalPerformanceShaders_h@1$"""
260
+ enums = """$MPSAccelerationStructureStatusBuilt@1$MPSAccelerationStructureStatusUnbuilt@0$MPSAccelerationStructureUsageFrequentRebuild@2$MPSAccelerationStructureUsageNone@0$MPSAccelerationStructureUsagePreferCPUBuild@8$MPSAccelerationStructureUsagePreferGPUBuild@4$MPSAccelerationStructureUsageRefit@1$MPSAliasingStrategyAliasingReserved@3$MPSAliasingStrategyDefault@0$MPSAliasingStrategyDontCare@0$MPSAliasingStrategyPreferNonTemporaryMemory@8$MPSAliasingStrategyPreferTemporaryMemory@4$MPSAliasingStrategyShallAlias@1$MPSAliasingStrategyShallNotAlias@2$MPSAlphaTypeAlphaIsOne@1$MPSAlphaTypeNonPremultiplied@0$MPSAlphaTypePremultiplied@2$MPSBoundingBoxIntersectionTestTypeAxisAligned@1$MPSBoundingBoxIntersectionTestTypeDefault@0$MPSBoundingBoxIntersectionTestTypeFast@2$MPSCNNBatchNormalizationFlagsCalculateStatisticsAlways@1$MPSCNNBatchNormalizationFlagsCalculateStatisticsAutomatic@0$MPSCNNBatchNormalizationFlagsCalculateStatisticsMask@3$MPSCNNBatchNormalizationFlagsCalculateStatisticsNever@2$MPSCNNBatchNormalizationFlagsDefault@0$MPSCNNBinaryConvolutionFlagsNone@0$MPSCNNBinaryConvolutionFlagsUseBetaScaling@1$MPSCNNBinaryConvolutionTypeAND@2$MPSCNNBinaryConvolutionTypeBinaryWeights@0$MPSCNNBinaryConvolutionTypeXNOR@1$MPSCNNConvolutionFlagsNone@0$MPSCNNConvolutionGradientOptionAll@3$MPSCNNConvolutionGradientOptionGradientWithData@1$MPSCNNConvolutionGradientOptionGradientWithWeightsAndBias@2$MPSCNNConvolutionWeightsLayoutOHWI@0$MPSCNNLossTypeCategoricalCrossEntropy@4$MPSCNNLossTypeCosineDistance@7$MPSCNNLossTypeCount@10$MPSCNNLossTypeHinge@5$MPSCNNLossTypeHuber@6$MPSCNNLossTypeKullbackLeiblerDivergence@9$MPSCNNLossTypeLog@8$MPSCNNLossTypeMeanAbsoluteError@0$MPSCNNLossTypeMeanSquaredError@1$MPSCNNLossTypeSigmoidCrossEntropy@3$MPSCNNLossTypeSoftMaxCrossEntropy@2$MPSCNNNeuronTypeAbsolute@6$MPSCNNNeuronTypeCount@16$MPSCNNNeuronTypeELU@9$MPSCNNNeuronTypeExponential@13$MPSCNNNeuronTypeGeLU@15$MPSCNNNeuronTypeHardSigmoid@4$MPSCNNNeuronTypeLinear@2$MPSCNNNeuronTypeLogarithm@14$MPSCNNNeuronTypeNone@0$MPSCNNNeuronTypePReLU@10$MPSCNNNeuronTypePower@12$MPSCNNNeuronTypeReLU@1$MPSCNNNeuronTypeReLUN@11$MPSCNNNeuronTypeSigmoid@3$MPSCNNNeuronTypeSoftPlus@7$MPSCNNNeuronTypeSoftSign@8$MPSCNNNeuronTypeTanH@5$MPSCNNReductionTypeCount@4$MPSCNNReductionTypeMean@2$MPSCNNReductionTypeNone@0$MPSCNNReductionTypeSum@1$MPSCNNReductionTypeSumByNonZeroWeights@3$MPSCNNWeightsQuantizationTypeLinear@1$MPSCNNWeightsQuantizationTypeLookupTable@2$MPSCNNWeightsQuantizationTypeNone@0$MPSCustomKernelIndexDestIndex@0$MPSCustomKernelIndexSrc0Index@0$MPSCustomKernelIndexSrc1Index@1$MPSCustomKernelIndexSrc2Index@2$MPSCustomKernelIndexSrc3Index@3$MPSCustomKernelIndexSrc4Index@4$MPSCustomKernelIndexUserDataIndex@30$MPSDataLayoutFeatureChannelsxHeightxWidth@1$MPSDataLayoutHeightxWidthxFeatureChannels@0$MPSDataTypeAlternateEncodingBit@2147483648$MPSDataTypeBFloat16@2415919120$MPSDataTypeBool@2147483656$MPSDataTypeComplexBFloat16@2432696352$MPSDataTypeComplexBit@16777216$MPSDataTypeComplexFloat16@285212704$MPSDataTypeComplexFloat32@285212736$MPSDataTypeFloat16@268435472$MPSDataTypeFloat32@268435488$MPSDataTypeFloatBit@268435456$MPSDataTypeInt16@536870928$MPSDataTypeInt2@536870914$MPSDataTypeInt32@536870944$MPSDataTypeInt4@536870916$MPSDataTypeInt64@536870976$MPSDataTypeInt8@536870920$MPSDataTypeIntBit@536870912$MPSDataTypeInvalid@0$MPSDataTypeNormalizedBit@1073741824$MPSDataTypeSignedBit@536870912$MPSDataTypeUInt16@16$MPSDataTypeUInt2@2$MPSDataTypeUInt32@32$MPSDataTypeUInt4@4$MPSDataTypeUInt64@64$MPSDataTypeUInt8@8$MPSDataTypeUnorm1@1073741825$MPSDataTypeUnorm8@1073741832$MPSDeviceCapsIndex@127$MPSDeviceCapsNull@0$MPSDeviceIsAppleDevice@1024$MPSDeviceOptionsDefault@0$MPSDeviceOptionsLowPower@1$MPSDeviceOptionsSkipRemovable@2$MPSDeviceSupportsBFloat16Arithmetic@4096$MPSDeviceSupportsFloat16BicubicFiltering@512$MPSDeviceSupportsFloat32Filtering@128$MPSDeviceSupportsNorm16BicubicFiltering@256$MPSDeviceSupportsQuadShuffle@16$MPSDeviceSupportsReadWriteTextures@4$MPSDeviceSupportsReadableArrayOfTextures@1$MPSDeviceSupportsSimdReduction@64$MPSDeviceSupportsSimdShuffle@32$MPSDeviceSupportsSimdShuffleAndFill@2048$MPSDeviceSupportsSimdgroupBarrier@8$MPSDeviceSupportsWritableArrayOfTextures@2$MPSFloatDataTypeExponentBit@8126464$MPSFloatDataTypeExponentShift@18$MPSFloatDataTypeMantissaBit@261120$MPSFloatDataTypeMantissaShift@10$MPSFloatDataTypeSignBit@8388608$MPSFloatDataTypeSignShift@23$MPSFunctionConstantNone@-1$MPSImageEdgeModeClamp@1$MPSImageEdgeModeConstant@4$MPSImageEdgeModeMirror@2$MPSImageEdgeModeMirrorWithEdge@3$MPSImageEdgeModeZero@0$MPSImageFeatureChannelFormatCount@6$MPSImageFeatureChannelFormatFloat16@3$MPSImageFeatureChannelFormatFloat32@4$MPSImageFeatureChannelFormatNone@0$MPSImageFeatureChannelFormatUnorm16@2$MPSImageFeatureChannelFormatUnorm8@1$MPSImageFeatureChannelFormat_reserved0@5$MPSImageType2d@0$MPSImageType2d_array@1$MPSImageType2d_array_noAlpha@5$MPSImageType2d_noAlpha@4$MPSImageTypeArray2d@2$MPSImageTypeArray2d_array@3$MPSImageTypeArray2d_array_noAlpha@7$MPSImageTypeArray2d_noAlpha@6$MPSImageType_ArrayMask@1$MPSImageType_BatchMask@2$MPSImageType_bitCount@6$MPSImageType_mask@63$MPSImageType_noAlpha@4$MPSImageType_texelFormatBFloat16@24$MPSImageType_texelFormatFloat16@16$MPSImageType_texelFormatMask@56$MPSImageType_texelFormatShift@3$MPSImageType_texelFormatStandard@0$MPSImageType_texelFormatUnorm8@8$MPSImageType_typeMask@3$MPSIntersectionDataTypeDistance@0$MPSIntersectionDataTypeDistancePrimitiveIndex@1$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndex@5$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexCoordinates@6$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexInstanceIndex@7$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates@8$MPSIntersectionDataTypeDistancePrimitiveIndexCoordinates@2$MPSIntersectionDataTypeDistancePrimitiveIndexInstanceIndex@3$MPSIntersectionDataTypeDistancePrimitiveIndexInstanceIndexCoordinates@4$MPSIntersectionTypeAny@1$MPSIntersectionTypeNearest@0$MPSKernelOptionsAllowReducedPrecision@2$MPSKernelOptionsDisableInternalTiling@4$MPSKernelOptionsInsertDebugGroups@8$MPSKernelOptionsNone@0$MPSKernelOptionsSkipAPIValidation@1$MPSKernelOptionsVerbose@16$MPSKernelTypes_h@1$MPSMatrixDecompositionStatusFailure@-1$MPSMatrixDecompositionStatusNonPositiveDefinite@-3$MPSMatrixDecompositionStatusSingular@-2$MPSMatrixDecompositionStatusSuccess@0$MPSMatrixRandomDistributionDefault@1$MPSMatrixRandomDistributionNormal@3$MPSMatrixRandomDistributionUniform@2$MPSNDArrayQuantizationTypeAffine@1$MPSNDArrayQuantizationTypeLUT@2$MPSNDArrayQuantizationTypeNone@0$MPSNNComparisonTypeEqual@0$MPSNNComparisonTypeGreater@4$MPSNNComparisonTypeGreaterOrEqual@5$MPSNNComparisonTypeLess@2$MPSNNComparisonTypeLessOrEqual@3$MPSNNComparisonTypeNotEqual@1$MPSNNConvolutionAccumulatorPrecisionOptionFloat@1$MPSNNConvolutionAccumulatorPrecisionOptionHalf@0$MPSNNPaddingMethodAddRemainderToBottomLeft@8$MPSNNPaddingMethodAddRemainderToBottomRight@12$MPSNNPaddingMethodAddRemainderToMask@12$MPSNNPaddingMethodAddRemainderToTopLeft@0$MPSNNPaddingMethodAddRemainderToTopRight@4$MPSNNPaddingMethodAlignBottomRight@2$MPSNNPaddingMethodAlignCentered@0$MPSNNPaddingMethodAlignMask@3$MPSNNPaddingMethodAlignTopLeft@1$MPSNNPaddingMethodAlign_reserved@3$MPSNNPaddingMethodCustom@16384$MPSNNPaddingMethodCustomAllowForNodeFusion@8192$MPSNNPaddingMethodCustomWhitelistForNodeFusion@8192$MPSNNPaddingMethodExcludeEdges@32768$MPSNNPaddingMethodSizeFull@32$MPSNNPaddingMethodSizeMask@2032$MPSNNPaddingMethodSizeSame@16$MPSNNPaddingMethodSizeValidOnly@0$MPSNNPaddingMethodSize_reserved@48$MPSNNRegularizationTypeL1@1$MPSNNRegularizationTypeL2@2$MPSNNRegularizationTypeNone@0$MPSNNTrainingStyleUpdateDeviceCPU@1$MPSNNTrainingStyleUpdateDeviceGPU@2$MPSNNTrainingStyleUpdateDeviceNone@0$MPSPolygonTypeQuadrilateral@1$MPSPolygonTypeTriangle@0$MPSPurgeableStateAllocationDeferred@0$MPSPurgeableStateEmpty@4$MPSPurgeableStateKeepCurrent@1$MPSPurgeableStateNonVolatile@2$MPSPurgeableStateVolatile@3$MPSRNNBidirectionalCombineModeAdd@1$MPSRNNBidirectionalCombineModeConcatenate@2$MPSRNNBidirectionalCombineModeNone@0$MPSRNNMatrixIdGRUInputGateBiasTerms@21$MPSRNNMatrixIdGRUInputGateInputWeights@19$MPSRNNMatrixIdGRUInputGateRecurrentWeights@20$MPSRNNMatrixIdGRUOutputGateBiasTerms@28$MPSRNNMatrixIdGRUOutputGateInputGateWeights@27$MPSRNNMatrixIdGRUOutputGateInputWeights@25$MPSRNNMatrixIdGRUOutputGateRecurrentWeights@26$MPSRNNMatrixIdGRURecurrentGateBiasTerms@24$MPSRNNMatrixIdGRURecurrentGateInputWeights@22$MPSRNNMatrixIdGRURecurrentGateRecurrentWeights@23$MPSRNNMatrixIdLSTMForgetGateBiasTerms@10$MPSRNNMatrixIdLSTMForgetGateInputWeights@7$MPSRNNMatrixIdLSTMForgetGateMemoryWeights@9$MPSRNNMatrixIdLSTMForgetGateRecurrentWeights@8$MPSRNNMatrixIdLSTMInputGateBiasTerms@6$MPSRNNMatrixIdLSTMInputGateInputWeights@3$MPSRNNMatrixIdLSTMInputGateMemoryWeights@5$MPSRNNMatrixIdLSTMInputGateRecurrentWeights@4$MPSRNNMatrixIdLSTMMemoryGateBiasTerms@14$MPSRNNMatrixIdLSTMMemoryGateInputWeights@11$MPSRNNMatrixIdLSTMMemoryGateMemoryWeights@13$MPSRNNMatrixIdLSTMMemoryGateRecurrentWeights@12$MPSRNNMatrixIdLSTMOutputGateBiasTerms@18$MPSRNNMatrixIdLSTMOutputGateInputWeights@15$MPSRNNMatrixIdLSTMOutputGateMemoryWeights@17$MPSRNNMatrixIdLSTMOutputGateRecurrentWeights@16$MPSRNNMatrixIdSingleGateBiasTerms@2$MPSRNNMatrixIdSingleGateInputWeights@0$MPSRNNMatrixIdSingleGateRecurrentWeights@1$MPSRNNMatrixId_count@29$MPSRNNSequenceDirectionBackward@1$MPSRNNSequenceDirectionForward@0$MPSRayDataTypeOriginDirection@0$MPSRayDataTypeOriginMaskDirectionMaxDistance@2$MPSRayDataTypeOriginMinDistanceDirectionMaxDistance@1$MPSRayDataTypePackedOriginDirection@3$MPSRayMaskOperatorAnd@0$MPSRayMaskOperatorEqual@10$MPSRayMaskOperatorGreaterThan@8$MPSRayMaskOperatorGreaterThanOrEqualTo@9$MPSRayMaskOperatorLessThan@6$MPSRayMaskOperatorLessThanOrEqualTo@7$MPSRayMaskOperatorNotAnd@1$MPSRayMaskOperatorNotEqual@11$MPSRayMaskOperatorNotOr@3$MPSRayMaskOperatorNotXor@5$MPSRayMaskOperatorOr@2$MPSRayMaskOperatorXor@4$MPSRayMaskOptionInstance@2$MPSRayMaskOptionNone@0$MPSRayMaskOptionPrimitive@1$MPSStateResourceTypeBuffer@1$MPSStateResourceTypeNone@0$MPSStateResourceTypeTexture@2$MPSTemporalWeightingAverage@0$MPSTemporalWeightingExponentialMovingAverage@1$MPSTransformTypeFloat4x4@0$MPSTransformTypeIdentity@1$MPSTriangleIntersectionTestTypeDefault@0$MPSTriangleIntersectionTestTypeWatertight@1$MetalPerformanceShaders_h@1$"""
261
261
  misc.update(
262
262
  {
263
263
  "MPSNNRegularizationType": NewType("MPSNNRegularizationType", int),
@@ -2493,6 +2493,7 @@ try:
2493
2493
  finally:
2494
2494
  objc._updatingMetadata(False)
2495
2495
 
2496
+ objc.registerNewKeywordsFromSelector("MPSAccelerationStructure", b"init")
2496
2497
  objc.registerNewKeywordsFromSelector(
2497
2498
  "MPSAccelerationStructure", b"initWithCoder:device:"
2498
2499
  )
@@ -2501,6 +2502,7 @@ objc.registerNewKeywordsFromSelector(
2501
2502
  )
2502
2503
  objc.registerNewKeywordsFromSelector("MPSAccelerationStructure", b"initWithDevice:")
2503
2504
  objc.registerNewKeywordsFromSelector("MPSAccelerationStructure", b"initWithGroup:")
2505
+ objc.registerNewKeywordsFromSelector("MPSAccelerationStructureGroup", b"init")
2504
2506
  objc.registerNewKeywordsFromSelector(
2505
2507
  "MPSAccelerationStructureGroup", b"initWithDevice:"
2506
2508
  )
@@ -2515,6 +2517,7 @@ objc.registerNewKeywordsFromSelector("MPSCNNArithmeticGradient", b"initWithDevic
2515
2517
  objc.registerNewKeywordsFromSelector(
2516
2518
  "MPSCNNArithmeticGradient", b"initWithDevice:isSecondarySourceFilter:"
2517
2519
  )
2520
+ objc.registerNewKeywordsFromSelector("MPSCNNArithmeticGradientState", b"init")
2518
2521
  objc.registerNewKeywordsFromSelector(
2519
2522
  "MPSCNNBatchNormalization", b"initWithCoder:device:"
2520
2523
  )
@@ -2722,6 +2725,7 @@ objc.registerNewKeywordsFromSelector(
2722
2725
  "MPSCNNDropoutGradientNode",
2723
2726
  b"initWithSourceGradient:sourceImage:gradientState:keepProbability:seed:maskStrideInPixels:",
2724
2727
  )
2728
+ objc.registerNewKeywordsFromSelector("MPSCNNDropoutGradientState", b"init")
2725
2729
  objc.registerNewKeywordsFromSelector("MPSCNNDropoutNode", b"initWithSource:")
2726
2730
  objc.registerNewKeywordsFromSelector(
2727
2731
  "MPSCNNDropoutNode", b"initWithSource:keepProbability:"
@@ -2837,6 +2841,9 @@ objc.registerNewKeywordsFromSelector("MPSCNNLogSoftMaxNode", b"initWithSource:")
2837
2841
  objc.registerNewKeywordsFromSelector("MPSCNNLoss", b"initWithCoder:device:")
2838
2842
  objc.registerNewKeywordsFromSelector("MPSCNNLoss", b"initWithDevice:")
2839
2843
  objc.registerNewKeywordsFromSelector("MPSCNNLoss", b"initWithDevice:lossDescriptor:")
2844
+ objc.registerNewKeywordsFromSelector("MPSCNNLossDataDescriptor", b"init")
2845
+ objc.registerNewKeywordsFromSelector("MPSCNNLossDescriptor", b"init")
2846
+ objc.registerNewKeywordsFromSelector("MPSCNNLossLabels", b"init")
2840
2847
  objc.registerNewKeywordsFromSelector(
2841
2848
  "MPSCNNLossLabels", b"initWithDevice:labelsDescriptor:"
2842
2849
  )
@@ -2884,6 +2891,7 @@ objc.registerNewKeywordsFromSelector("MPSCNNNeuronGradient", b"initWithDevice:")
2884
2891
  objc.registerNewKeywordsFromSelector(
2885
2892
  "MPSCNNNeuronGradient", b"initWithDevice:neuronDescriptor:"
2886
2893
  )
2894
+ objc.registerNewKeywordsFromSelector("MPSCNNNeuronGradientNode", b"init")
2887
2895
  objc.registerNewKeywordsFromSelector(
2888
2896
  "MPSCNNNeuronGradientNode",
2889
2897
  b"initWithSourceGradient:sourceImage:gradientState:descriptor:",
@@ -2904,6 +2912,7 @@ objc.registerNewKeywordsFromSelector("MPSCNNNeuronLogarithmNode", b"initWithSour
2904
2912
  objc.registerNewKeywordsFromSelector(
2905
2913
  "MPSCNNNeuronLogarithmNode", b"initWithSource:a:b:c:"
2906
2914
  )
2915
+ objc.registerNewKeywordsFromSelector("MPSCNNNeuronNode", b"init")
2907
2916
  objc.registerNewKeywordsFromSelector("MPSCNNNeuronPReLU", b"initWithDevice:")
2908
2917
  objc.registerNewKeywordsFromSelector("MPSCNNNeuronPReLU", b"initWithDevice:a:count:")
2909
2918
  objc.registerNewKeywordsFromSelector("MPSCNNNeuronPReLUNode", b"initWithSource:")
@@ -3085,10 +3094,13 @@ objc.registerNewKeywordsFromSelector("MPSCNNYOLOLoss", b"initWithDevice:")
3085
3094
  objc.registerNewKeywordsFromSelector(
3086
3095
  "MPSCNNYOLOLoss", b"initWithDevice:lossDescriptor:"
3087
3096
  )
3097
+ objc.registerNewKeywordsFromSelector("MPSCNNYOLOLossDescriptor", b"init")
3088
3098
  objc.registerNewKeywordsFromSelector(
3089
3099
  "MPSCNNYOLOLossNode", b"initWithSource:lossDescriptor:"
3090
3100
  )
3101
+ objc.registerNewKeywordsFromSelector("MPSCommandBuffer", b"init")
3091
3102
  objc.registerNewKeywordsFromSelector("MPSCommandBuffer", b"initWithCommandBuffer:")
3103
+ objc.registerNewKeywordsFromSelector("MPSImage", b"init")
3092
3104
  objc.registerNewKeywordsFromSelector("MPSImage", b"initWithDevice:imageDescriptor:")
3093
3105
  objc.registerNewKeywordsFromSelector(
3094
3106
  "MPSImage", b"initWithParentImage:sliceRange:featureChannels:"
@@ -3265,6 +3277,7 @@ objc.registerNewKeywordsFromSelector(
3265
3277
  objc.registerNewKeywordsFromSelector("MPSKernel", b"initWithCoder:")
3266
3278
  objc.registerNewKeywordsFromSelector("MPSKernel", b"initWithCoder:device:")
3267
3279
  objc.registerNewKeywordsFromSelector("MPSKernel", b"initWithDevice:")
3280
+ objc.registerNewKeywordsFromSelector("MPSKeyedUnarchiver", b"init")
3268
3281
  objc.registerNewKeywordsFromSelector(
3269
3282
  "MPSKeyedUnarchiver", b"initForReadingFromData:device:error:"
3270
3283
  )
@@ -3276,6 +3289,7 @@ objc.registerNewKeywordsFromSelector(
3276
3289
  "MPSKeyedUnarchiver", b"initForReadingWithData:device:"
3277
3290
  )
3278
3291
  objc.registerNewKeywordsFromSelector("MPSKeyedUnarchiver", b"initWithDevice:")
3292
+ objc.registerNewKeywordsFromSelector("MPSMatrix", b"init")
3279
3293
  objc.registerNewKeywordsFromSelector("MPSMatrix", b"initWithBuffer:descriptor:")
3280
3294
  objc.registerNewKeywordsFromSelector("MPSMatrix", b"initWithBuffer:offset:descriptor:")
3281
3295
  objc.registerNewKeywordsFromSelector("MPSMatrix", b"initWithDevice:descriptor:")
@@ -3295,6 +3309,7 @@ objc.registerNewKeywordsFromSelector(
3295
3309
  "MPSMatrixCopy",
3296
3310
  b"initWithDevice:copyRows:copyColumns:sourcesAreTransposed:destinationsAreTransposed:",
3297
3311
  )
3312
+ objc.registerNewKeywordsFromSelector("MPSMatrixCopyDescriptor", b"init")
3298
3313
  objc.registerNewKeywordsFromSelector(
3299
3314
  "MPSMatrixCopyDescriptor", b"initWithDevice:count:"
3300
3315
  )
@@ -3392,6 +3407,7 @@ objc.registerNewKeywordsFromSelector(
3392
3407
  "MPSMatrixVectorMultiplication",
3393
3408
  b"initWithDevice:transpose:rows:columns:alpha:beta:",
3394
3409
  )
3410
+ objc.registerNewKeywordsFromSelector("MPSNDArray", b"init")
3395
3411
  objc.registerNewKeywordsFromSelector("MPSNDArray", b"initWithBuffer:offset:descriptor:")
3396
3412
  objc.registerNewKeywordsFromSelector("MPSNDArray", b"initWithDevice:descriptor:")
3397
3413
  objc.registerNewKeywordsFromSelector("MPSNDArray", b"initWithDevice:scalar:")
@@ -3404,6 +3420,7 @@ objc.registerNewKeywordsFromSelector(
3404
3420
  objc.registerNewKeywordsFromSelector(
3405
3421
  "MPSNDArrayAffineInt4Dequantize", b"initWithDevice:sourceCount:"
3406
3422
  )
3423
+ objc.registerNewKeywordsFromSelector("MPSNDArrayAffineQuantizationDescriptor", b"init")
3407
3424
  objc.registerNewKeywordsFromSelector(
3408
3425
  "MPSNDArrayAffineQuantizationDescriptor",
3409
3426
  b"initWithDataType:hasZeroPoint:hasMinValue:",
@@ -3433,6 +3450,7 @@ objc.registerNewKeywordsFromSelector(
3433
3450
  "MPSNDArrayBinarySecondaryGradientKernel",
3434
3451
  b"initWithDevice:sourceCount:sourceGradientIndex:",
3435
3452
  )
3453
+ objc.registerNewKeywordsFromSelector("MPSNDArrayDescriptor", b"init")
3436
3454
  objc.registerNewKeywordsFromSelector("MPSNDArrayIdentity", b"initWithDevice:")
3437
3455
  objc.registerNewKeywordsFromSelector("MPSNDArrayLUTDequantize", b"initWithDevice:")
3438
3456
  objc.registerNewKeywordsFromSelector(
@@ -3518,6 +3536,7 @@ objc.registerNewKeywordsFromSelector(
3518
3536
  "MPSNNCropAndResizeBilinear",
3519
3537
  b"initWithDevice:resizeWidth:resizeHeight:numberOfRegions:regions:",
3520
3538
  )
3539
+ objc.registerNewKeywordsFromSelector("MPSNNFilterNode", b"init")
3521
3540
  objc.registerNewKeywordsFromSelector("MPSNNForwardLoss", b"initWithCoder:device:")
3522
3541
  objc.registerNewKeywordsFromSelector("MPSNNForwardLoss", b"initWithDevice:")
3523
3542
  objc.registerNewKeywordsFromSelector(
@@ -3573,6 +3592,7 @@ objc.registerNewKeywordsFromSelector(
3573
3592
  )
3574
3593
  objc.registerNewKeywordsFromSelector("MPSNNGridSample", b"initWithCoder:device:")
3575
3594
  objc.registerNewKeywordsFromSelector("MPSNNGridSample", b"initWithDevice:")
3595
+ objc.registerNewKeywordsFromSelector("MPSNNImageNode", b"init")
3576
3596
  objc.registerNewKeywordsFromSelector("MPSNNImageNode", b"initWithHandle:")
3577
3597
  objc.registerNewKeywordsFromSelector("MPSNNInitialGradient", b"initWithDevice:")
3578
3598
  objc.registerNewKeywordsFromSelector("MPSNNInitialGradientNode", b"initWithSource:")
@@ -3598,6 +3618,7 @@ objc.registerNewKeywordsFromSelector(
3598
3618
  "MPSNNLossGradientNode",
3599
3619
  b"initWithSources:gradientState:lossDescriptor:isLabelsGradientFilter:",
3600
3620
  )
3621
+ objc.registerNewKeywordsFromSelector("MPSNNNeuronDescriptor", b"init")
3601
3622
  objc.registerNewKeywordsFromSelector("MPSNNOptimizer", b"initWithDevice:")
3602
3623
  objc.registerNewKeywordsFromSelector("MPSNNOptimizerAdam", b"initWithDevice:")
3603
3624
  objc.registerNewKeywordsFromSelector(
@@ -3748,7 +3769,9 @@ objc.registerNewKeywordsFromSelector(
3748
3769
  )
3749
3770
  objc.registerNewKeywordsFromSelector("MPSNNSlice", b"initWithCoder:device:")
3750
3771
  objc.registerNewKeywordsFromSelector("MPSNNSlice", b"initWithDevice:")
3772
+ objc.registerNewKeywordsFromSelector("MPSNNStateNode", b"init")
3751
3773
  objc.registerNewKeywordsFromSelector("MPSNNUnaryReductionNode", b"initWithSource:")
3774
+ objc.registerNewKeywordsFromSelector("MPSPolygonBuffer", b"init")
3752
3775
  objc.registerNewKeywordsFromSelector("MPSPolygonBuffer", b"initWithCoder:")
3753
3776
  objc.registerNewKeywordsFromSelector("MPSPredicate", b"initWithBuffer:offset:")
3754
3777
  objc.registerNewKeywordsFromSelector("MPSPredicate", b"initWithDevice:")
@@ -3779,6 +3802,7 @@ objc.registerNewKeywordsFromSelector("MPSRNNMatrixTrainingLayer", b"initWithDevi
3779
3802
  objc.registerNewKeywordsFromSelector(
3780
3803
  "MPSRNNMatrixTrainingLayer", b"initWithDevice:rnnDescriptor:trainableWeights:"
3781
3804
  )
3805
+ objc.registerNewKeywordsFromSelector("MPSRayIntersector", b"init")
3782
3806
  objc.registerNewKeywordsFromSelector("MPSRayIntersector", b"initWithCoder:device:")
3783
3807
  objc.registerNewKeywordsFromSelector("MPSRayIntersector", b"initWithDevice:")
3784
3808
  objc.registerNewKeywordsFromSelector("MPSSVGF", b"initWithCoder:device:")
@@ -3790,11 +3814,13 @@ objc.registerNewKeywordsFromSelector("MPSSVGFDenoiser", b"initWithDevice:")
3790
3814
  objc.registerNewKeywordsFromSelector(
3791
3815
  "MPSSVGFDenoiser", b"initWithSVGF:textureAllocator:"
3792
3816
  )
3817
+ objc.registerNewKeywordsFromSelector("MPSState", b"init")
3793
3818
  objc.registerNewKeywordsFromSelector("MPSState", b"initWithDevice:bufferSize:")
3794
3819
  objc.registerNewKeywordsFromSelector("MPSState", b"initWithDevice:resourceList:")
3795
3820
  objc.registerNewKeywordsFromSelector("MPSState", b"initWithDevice:textureDescriptor:")
3796
3821
  objc.registerNewKeywordsFromSelector("MPSState", b"initWithResource:")
3797
3822
  objc.registerNewKeywordsFromSelector("MPSState", b"initWithResources:")
3823
+ objc.registerNewKeywordsFromSelector("MPSStateResourceList", b"init")
3798
3824
  objc.registerNewKeywordsFromSelector("MPSTemporalAA", b"initWithCoder:device:")
3799
3825
  objc.registerNewKeywordsFromSelector("MPSTemporalAA", b"initWithDevice:")
3800
3826
  objc.registerNewKeywordsFromSelector(
@@ -3814,9 +3840,210 @@ objc.registerNewKeywordsFromSelector(
3814
3840
  )
3815
3841
  objc.registerNewKeywordsFromSelector("MPSUnaryImageKernel", b"initWithCoder:device:")
3816
3842
  objc.registerNewKeywordsFromSelector("MPSUnaryImageKernel", b"initWithDevice:")
3843
+ objc.registerNewKeywordsFromSelector("MPSVector", b"init")
3817
3844
  objc.registerNewKeywordsFromSelector("MPSVector", b"initWithBuffer:descriptor:")
3818
3845
  objc.registerNewKeywordsFromSelector("MPSVector", b"initWithBuffer:offset:descriptor:")
3819
3846
  objc.registerNewKeywordsFromSelector("MPSVector", b"initWithDevice:descriptor:")
3847
+
3848
+ objc.registerNewKeywords(
3849
+ "MPSCNNBatchNormalizationState",
3850
+ ("commandBuffer", "bufferSize"),
3851
+ "temporaryStateWithCommandBuffer_bufferSize_",
3852
+ )
3853
+ objc.registerNewKeywords(
3854
+ "MPSCNNBatchNormalizationState",
3855
+ ("commandBuffer", "textureDescriptor"),
3856
+ "temporaryStateWithCommandBuffer_textureDescriptor_",
3857
+ )
3858
+ objc.registerNewKeywords(
3859
+ "MPSCNNConvolutionDescriptor",
3860
+ ("kernelWidth", "kernelHeight", "inputFeatureChannels", "outputFeatureChannels"),
3861
+ "cnnConvolutionDescriptorWithKernelWidth_kernelHeight_inputFeatureChannels_outputFeatureChannels_",
3862
+ )
3863
+ objc.registerNewKeywords(
3864
+ "MPSCNNConvolutionDescriptor",
3865
+ (
3866
+ "kernelWidth",
3867
+ "kernelHeight",
3868
+ "inputFeatureChannels",
3869
+ "outputFeatureChannels",
3870
+ "neuronFilter",
3871
+ ),
3872
+ "cnnConvolutionDescriptorWithKernelWidth_kernelHeight_inputFeatureChannels_outputFeatureChannels_neuronFilter_",
3873
+ )
3874
+ objc.registerNewKeywords(
3875
+ "MPSCNNConvolutionWeightsAndBiasesState",
3876
+ ("commandBuffer", "cnnConvolutionDescriptor"),
3877
+ "temporaryCNNConvolutionWeightsAndBiasesStateWithCommandBuffer_cnnConvolutionDescriptor_",
3878
+ )
3879
+ objc.registerNewKeywords(
3880
+ "MPSCNNGroupNormalizationGradientState",
3881
+ ("commandBuffer",),
3882
+ "temporaryStateWithCommandBuffer_",
3883
+ )
3884
+ objc.registerNewKeywords(
3885
+ "MPSCNNGroupNormalizationGradientState",
3886
+ ("commandBuffer", "bufferSize"),
3887
+ "temporaryStateWithCommandBuffer_bufferSize_",
3888
+ )
3889
+ objc.registerNewKeywords(
3890
+ "MPSCNNGroupNormalizationGradientState",
3891
+ ("commandBuffer", "textureDescriptor"),
3892
+ "temporaryStateWithCommandBuffer_textureDescriptor_",
3893
+ )
3894
+ objc.registerNewKeywords(
3895
+ "MPSCNNInstanceNormalizationGradientState",
3896
+ ("commandBuffer",),
3897
+ "temporaryStateWithCommandBuffer_",
3898
+ )
3899
+ objc.registerNewKeywords(
3900
+ "MPSCNNInstanceNormalizationGradientState",
3901
+ ("commandBuffer", "bufferSize"),
3902
+ "temporaryStateWithCommandBuffer_bufferSize_",
3903
+ )
3904
+ objc.registerNewKeywords(
3905
+ "MPSCNNInstanceNormalizationGradientState",
3906
+ ("commandBuffer", "textureDescriptor"),
3907
+ "temporaryStateWithCommandBuffer_textureDescriptor_",
3908
+ )
3909
+ objc.registerNewKeywords(
3910
+ "MPSCNNNeuronNode", ("source", "descriptor"), "nodeWithSource_descriptor_"
3911
+ )
3912
+ objc.registerNewKeywords(
3913
+ "MPSCNNNormalizationGammaAndBetaState",
3914
+ ("commandBuffer", "numberOfFeatureChannels"),
3915
+ "temporaryStateWithCommandBuffer_numberOfFeatureChannels_",
3916
+ )
3917
+ objc.registerNewKeywords(
3918
+ "MPSCNNNormalizationMeanAndVarianceState",
3919
+ ("commandBuffer", "numberOfFeatureChannels"),
3920
+ "temporaryStateWithCommandBuffer_numberOfFeatureChannels_",
3921
+ )
3922
+ objc.registerNewKeywords(
3923
+ "MPSGRUDescriptor",
3924
+ ("inputFeatureChannels", "outputFeatureChannels"),
3925
+ "createGRUDescriptorWithInputFeatureChannels_outputFeatureChannels_",
3926
+ )
3927
+ objc.registerNewKeywords(
3928
+ "MPSImageDescriptor",
3929
+ ("channelFormat", "width", "height", "featureChannels"),
3930
+ "imageDescriptorWithChannelFormat_width_height_featureChannels_",
3931
+ )
3932
+ objc.registerNewKeywords(
3933
+ "MPSImageDescriptor",
3934
+ ("channelFormat", "width", "height", "featureChannels", "numberOfImages", "usage"),
3935
+ "imageDescriptorWithChannelFormat_width_height_featureChannels_numberOfImages_usage_",
3936
+ )
3937
+ objc.registerNewKeywords(
3938
+ "MPSLSTMDescriptor",
3939
+ ("inputFeatureChannels", "outputFeatureChannels"),
3940
+ "createLSTMDescriptorWithInputFeatureChannels_outputFeatureChannels_",
3941
+ )
3942
+ objc.registerNewKeywords(
3943
+ "MPSMatrixCopyDescriptor",
3944
+ ("sourceMatrix", "destinationMatrix", "offsets"),
3945
+ "descriptorWithSourceMatrix_destinationMatrix_offsets_",
3946
+ )
3947
+ objc.registerNewKeywords(
3948
+ "MPSMatrixDescriptor",
3949
+ ("dimensions", "columns", "rowBytes", "dataType"),
3950
+ "matrixDescriptorWithDimensions_columns_rowBytes_dataType_",
3951
+ )
3952
+ objc.registerNewKeywords(
3953
+ "MPSMatrixDescriptor",
3954
+ ("rows", "columns", "matrices", "rowBytes", "matrixBytes", "dataType"),
3955
+ "matrixDescriptorWithRows_columns_matrices_rowBytes_matrixBytes_dataType_",
3956
+ )
3957
+ objc.registerNewKeywords(
3958
+ "MPSMatrixDescriptor",
3959
+ ("rows", "columns", "rowBytes", "dataType"),
3960
+ "matrixDescriptorWithRows_columns_rowBytes_dataType_",
3961
+ )
3962
+ objc.registerNewKeywords(
3963
+ "MPSNDArrayDescriptor",
3964
+ ("dataType", "dimensionCount", "dimensionSizes"),
3965
+ "descriptorWithDataType_dimensionCount_dimensionSizes_",
3966
+ )
3967
+ objc.registerNewKeywords(
3968
+ "MPSNDArrayDescriptor",
3969
+ ("dataType", "dimensionSizes"),
3970
+ "descriptorWithDataType_dimensionSizes_",
3971
+ )
3972
+ objc.registerNewKeywords(
3973
+ "MPSNDArrayDescriptor", ("dataType", "shape"), "descriptorWithDataType_shape_"
3974
+ )
3975
+ objc.registerNewKeywords("MPSNNDefaultPadding", ("method",), "paddingWithMethod_")
3976
+ objc.registerNewKeywords(
3977
+ "MPSRNNSingleGateDescriptor",
3978
+ ("inputFeatureChannels", "outputFeatureChannels"),
3979
+ "createRNNSingleGateDescriptorWithInputFeatureChannels_outputFeatureChannels_",
3980
+ )
3981
+ objc.registerNewKeywords(
3982
+ "MPSState", ("commandBuffer",), "temporaryStateWithCommandBuffer_"
3983
+ )
3984
+ objc.registerNewKeywords(
3985
+ "MPSState",
3986
+ ("commandBuffer", "bufferSize"),
3987
+ "temporaryStateWithCommandBuffer_bufferSize_",
3988
+ )
3989
+ objc.registerNewKeywords(
3990
+ "MPSState",
3991
+ ("commandBuffer", "resourceList"),
3992
+ "temporaryStateWithCommandBuffer_resourceList_",
3993
+ )
3994
+ objc.registerNewKeywords(
3995
+ "MPSState",
3996
+ ("commandBuffer", "textureDescriptor"),
3997
+ "temporaryStateWithCommandBuffer_textureDescriptor_",
3998
+ )
3999
+ objc.registerNewKeywords(
4000
+ "MPSStateResourceList", ("bufferSizes",), "resourceListWithBufferSizes_"
4001
+ )
4002
+ objc.registerNewKeywords(
4003
+ "MPSStateResourceList",
4004
+ ("textureDescriptors",),
4005
+ "resourceListWithTextureDescriptors_",
4006
+ )
4007
+ objc.registerNewKeywords(
4008
+ "MPSTemporaryImage",
4009
+ ("commandBuffer", "imageDescriptor"),
4010
+ "temporaryImageWithCommandBuffer_imageDescriptor_",
4011
+ )
4012
+ objc.registerNewKeywords(
4013
+ "MPSTemporaryImage",
4014
+ ("commandBuffer", "textureDescriptor"),
4015
+ "temporaryImageWithCommandBuffer_textureDescriptor_",
4016
+ )
4017
+ objc.registerNewKeywords(
4018
+ "MPSTemporaryImage",
4019
+ ("commandBuffer", "textureDescriptor", "featureChannels"),
4020
+ "temporaryImageWithCommandBuffer_textureDescriptor_featureChannels_",
4021
+ )
4022
+ objc.registerNewKeywords(
4023
+ "MPSTemporaryMatrix",
4024
+ ("commandBuffer", "matrixDescriptor"),
4025
+ "temporaryMatrixWithCommandBuffer_matrixDescriptor_",
4026
+ )
4027
+ objc.registerNewKeywords(
4028
+ "MPSTemporaryNDArray",
4029
+ ("commandBuffer", "descriptor"),
4030
+ "temporaryNDArrayWithCommandBuffer_descriptor_",
4031
+ )
4032
+ objc.registerNewKeywords(
4033
+ "MPSTemporaryVector",
4034
+ ("commandBuffer", "descriptor"),
4035
+ "temporaryVectorWithCommandBuffer_descriptor_",
4036
+ )
4037
+ objc.registerNewKeywords(
4038
+ "MPSVectorDescriptor",
4039
+ ("length", "dataType"),
4040
+ "vectorDescriptorWithLength_dataType_",
4041
+ )
4042
+ objc.registerNewKeywords(
4043
+ "MPSVectorDescriptor",
4044
+ ("length", "vectors", "vectorBytes", "dataType"),
4045
+ "vectorDescriptorWithLength_vectors_vectorBytes_dataType_",
4046
+ )
3820
4047
  expressions = {
3821
4048
  "MPSUserAvailableFunctionConstantStartIndex": "MPSDeviceCapsIndex-12",
3822
4049
  "MPSNDArrayConstantMultiDestSrcAddressingIndex": "MPSDeviceCapsIndex-10",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-MetalPerformanceShaders
3
- Version: 12.1
3
+ Version: 12.2
4
4
  Summary: Wrappers for the framework MetalPerformanceShaders on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
31
  Requires-Python: >=3.10
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.1
34
- Requires-Dist: pyobjc-framework-Metal>=12.1
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-Metal>=12.2
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -71,5 +71,5 @@ PyObjCTest/test_mpsrayintersector_mpsrayintersectortypes.py
71
71
  PyObjCTest/test_mpsrayintersector_mpssvgf.py
72
72
  metadata/MetalPerformanceShaders.fwinfo
73
73
  metadata/metadata.ini
74
- metadata/raw/arm64-26.0.fwinfo
75
- metadata/raw/x86_64-26.0.fwinfo
74
+ metadata/raw/arm64-26.5.fwinfo
75
+ metadata/raw/x86_64-26.5.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 26.5 (25F71)
2
+ Apple clang version 21.0.0 (clang-2100.1.1.101)
3
+ SDK: macOS 26.5
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=12.2
2
+ pyobjc-framework-Metal>=12.2
@@ -57,8 +57,6 @@ NS_ASSUME_NONNULL_BEGIN
57
57
  /*
58
58
  *
59
59
  * Start of compiler support helpers
60
- *
61
- * XXX: Are these needed?
62
60
  */
63
61
 
64
62
  #define unlikely(x) __builtin_expect(!!(x), 0)
@@ -363,6 +361,11 @@ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
363
361
  }
364
362
  #endif
365
363
 
364
+ #if PY_VERSION_HEX < 0x030f00a7
365
+ #define PyAnyDict_CheckExact PyDict_CheckExact
366
+ #define PyAnyDict_Check PyDict_Check
367
+ #endif
368
+
366
369
  NS_ASSUME_NONNULL_END
367
370
 
368
371
  #endif /* PyObjC_COMPAT_H */
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-MetalPerformanceShaders
3
- Version: 12.1
3
+ Version: 12.2
4
4
  Summary: Wrappers for the framework MetalPerformanceShaders on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
31
  Requires-Python: >=3.10
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.1
34
- Requires-Dist: pyobjc-framework-Metal>=12.1
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-Metal>=12.2
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -146,6 +146,14 @@ class TestMPSCore_MPSCoreTypes(TestCase):
146
146
  | MetalPerformanceShaders.MPSDataTypeFloat16,
147
147
  )
148
148
 
149
+ self.assertEqual(
150
+ MetalPerformanceShaders.MPSDataTypeComplexBFloat16,
151
+ MetalPerformanceShaders.MPSDataTypeAlternateEncodingBit
152
+ | MetalPerformanceShaders.MPSDataTypeFloatBit
153
+ | MetalPerformanceShaders.MPSDataTypeComplexBit
154
+ | 32,
155
+ )
156
+
149
157
  self.assertIsEnumType(MetalPerformanceShaders.MPSFloatDataTypeBit)
150
158
  self.assertEqual(MetalPerformanceShaders.MPSFloatDataTypeSignBit, 0x00800000)
151
159
  self.assertEqual(