pyobjc-framework-MetalPerformanceShaders 11.0__tar.gz → 11.1__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.
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Lib/MetalPerformanceShaders/_metadata.py +2 -2
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/PKG-INFO +17 -6
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/SOURCES.txt +2 -2
- pyobjc_framework_metalperformanceshaders-11.1/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_metalperformanceshaders-11.1/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/requires.txt +2 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/License.txt +1 -1
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Modules/pyobjc-compat.h +95 -2
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PKG-INFO +17 -6
- pyobjc_framework_metalperformanceshaders-11.1/PyObjCTest/__init__.py +1 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpscoretypes.py +5 -0
- pyobjc_framework_metalperformanceshaders-11.0/metadata/raw/arm64-15.0.fwinfo → pyobjc_framework_metalperformanceshaders-11.1/metadata/raw/arm64-15.4.fwinfo +66 -3
- pyobjc_framework_metalperformanceshaders-11.0/metadata/raw/x86_64-15.0.fwinfo → pyobjc_framework_metalperformanceshaders-11.1/metadata/raw/x86_64-15.4.fwinfo +66 -3
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/pyobjc_setup.py +7 -41
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/setup.py +1 -1
- pyobjc_framework_metalperformanceshaders-11.0/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_metalperformanceshaders-11.0/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/requires.txt +0 -2
- pyobjc_framework_metalperformanceshaders-11.0/PyObjCTest/__init__.py +0 -1
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Lib/MetalPerformanceShaders/__init__.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/top_level.txt +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/MANIFEST.in +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Modules/_MetalPerformanceShaders.m +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Modules/_MetalPerformanceShaders_inlines.m +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Modules/_MetalPerformanceShaders_protocols.m +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/Modules/pyobjc-api.h +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_metalperformanceshaders.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpscommandbuffer.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpsfunctionconstantindices.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpsimage.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpskerneltypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpskeyedunarchiver.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpsndarray.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpsndarrayidentity.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpsndarrayquantization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpscore_mpsstate.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsimage_mpsimageconvolution.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsimage_mpsimagehistogram.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsimage_mpsimagekernel.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsimage_mpsimagekeypoint.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsimage_mpsimagemorphology.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsimage_mpsimagethreshold.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsimage_mpsimagetypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsmatrix_mpsmatrixcombination.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsmatrix_mpsmatrixdecomposition.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsmatrix_mpsmatrixmultiplication.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsmatrix_mpsmatrixrandom.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsmatrix_mpsmatrixsolve.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsmatrix_mpsndarraymultiarykernel.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsndarray_mpsndarraytypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnnconvolution.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnngroupnormalization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnninstancenormalization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnnkernel.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnnloss.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnnmath.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnnneuraltypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnntypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpscnnupsampling.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsmatrixbatchnormalization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsmatrixsum.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsneuralnetworktypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsnnbatchnormalization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsnngraph.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsnngraphnodes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsnngridsample.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsnnoptimzers.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsnnreshape.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsnnresize.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsneuralnetwork_mpsrnnlayer.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsrayintersector_mpsaccelerationstructure.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsrayintersector_mpsinstanceaccelerationstructure.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsrayintersector_mpspolygonaccelerationstructure.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsrayintersector_mpsrayintersector.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsrayintersector_mpsrayintersectortypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/PyObjCTest/test_mpsrayintersector_mpssvgf.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/metadata/MetalPerformanceShaders.fwinfo +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/metadata/metadata.ini +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/metadata/raw/arm64-14.5.fwinfo +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/metadata/raw/x86_64-14.5.fwinfo +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/pyproject.toml +0 -0
- {pyobjc_framework_metalperformanceshaders-11.0 → pyobjc_framework_metalperformanceshaders-11.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Sat Mar 1 11:27:20 2025
|
|
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$MPSDataTypeInt32@536870944$MPSDataTypeInt4@536870916$MPSDataTypeInt64@536870976$MPSDataTypeInt8@536870920$MPSDataTypeIntBit@536870912$MPSDataTypeInvalid@0$MPSDataTypeNormalizedBit@1073741824$MPSDataTypeSignedBit@536870912$MPSDataTypeUInt16@16$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$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),
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-MetalPerformanceShaders
|
|
3
|
-
Version: 11.
|
|
3
|
+
Version: 11.1
|
|
4
4
|
Summary: Wrappers for the framework MetalPerformanceShaders on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
7
7
|
Author-email: pyobjc-dev@lists.sourceforge.net
|
|
8
|
-
License: MIT
|
|
8
|
+
License: MIT
|
|
9
9
|
Keywords: PyObjC,MetalPerformanceShaders
|
|
10
10
|
Platform: MacOS X (>=10.13)
|
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
12
|
Classifier: Environment :: Console
|
|
13
13
|
Classifier: Environment :: MacOS X :: Cocoa
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
16
15
|
Classifier: Natural Language :: English
|
|
17
16
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
18
17
|
Classifier: Programming Language :: Python
|
|
@@ -30,8 +29,20 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
30
|
Requires-Python: >=3.9
|
|
32
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=11.
|
|
34
|
-
Requires-Dist: pyobjc-framework-Metal>=11.
|
|
32
|
+
Requires-Dist: pyobjc-core>=11.1
|
|
33
|
+
Requires-Dist: pyobjc-framework-Metal>=11.1
|
|
34
|
+
Dynamic: author
|
|
35
|
+
Dynamic: author-email
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: keywords
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: platform
|
|
43
|
+
Dynamic: requires-dist
|
|
44
|
+
Dynamic: requires-python
|
|
45
|
+
Dynamic: summary
|
|
35
46
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
47
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
48
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -73,7 +73,7 @@ metadata/MetalPerformanceShaders.fwinfo
|
|
|
73
73
|
metadata/metadata.ini
|
|
74
74
|
metadata/raw/arm64-13.3.fwinfo
|
|
75
75
|
metadata/raw/arm64-14.5.fwinfo
|
|
76
|
-
metadata/raw/arm64-15.
|
|
76
|
+
metadata/raw/arm64-15.4.fwinfo
|
|
77
77
|
metadata/raw/x86_64-13.3.fwinfo
|
|
78
78
|
metadata/raw/x86_64-14.5.fwinfo
|
|
79
|
-
metadata/raw/x86_64-15.
|
|
79
|
+
metadata/raw/x86_64-15.4.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2025 - Ronald Oussoren
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
7
|
|
|
@@ -179,7 +179,7 @@ extern const char* _Nullable PyObjC_Unicode_Fast_Bytes(PyObject* object);
|
|
|
179
179
|
|
|
180
180
|
static inline PyObject* _Nullable* _Nonnull PyTuple_ITEMS(PyObject* tuple)
|
|
181
181
|
{
|
|
182
|
-
return &PyTuple_GET_ITEM(tuple, 0);
|
|
182
|
+
return &PyTuple_GET_ITEM(tuple, 0); // LCOV_BR_EXCL_LINE
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/* This is a crude hack to disable a otherwise useful warning in the context of
|
|
@@ -198,7 +198,7 @@ _PyObjCTuple_SetItem(PyObject* tuple, Py_ssize_t idx, PyObject* _Nullable value)
|
|
|
198
198
|
static inline PyObject*
|
|
199
199
|
_PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
200
200
|
{
|
|
201
|
-
return PyTuple_GET_ITEM(tuple, idx);
|
|
201
|
+
return PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
|
|
202
202
|
}
|
|
203
203
|
#undef PyTuple_GET_ITEM
|
|
204
204
|
#define PyTuple_GET_ITEM(a, b) _PyObjCTuple_GetItem(a, b)
|
|
@@ -314,6 +314,99 @@ static inline PyObject* PyType_GetDict(PyTypeObject* type)
|
|
|
314
314
|
}
|
|
315
315
|
#endif
|
|
316
316
|
|
|
317
|
+
#if PY_VERSION_HEX >= 0x030c0000 && PY_VERSION_HEX < 0x030e0000
|
|
318
|
+
/*
|
|
319
|
+
* These are available in 3.14 and above, the definitions below
|
|
320
|
+
* mirror the private implementation in 3.13.
|
|
321
|
+
*/
|
|
322
|
+
static inline int PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
|
|
323
|
+
{
|
|
324
|
+
#ifdef Py_GIL_DISABLED
|
|
325
|
+
return (_Py_IsOwnedByCurrentThread(ob) &&
|
|
326
|
+
_Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
|
|
327
|
+
_Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
|
|
328
|
+
#else
|
|
329
|
+
return Py_REFCNT(ob) == 1;
|
|
330
|
+
#endif
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
static inline void
|
|
334
|
+
PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
|
|
335
|
+
{
|
|
336
|
+
#ifdef Py_GIL_DISABLED
|
|
337
|
+
for (;;) {
|
|
338
|
+
Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
|
|
339
|
+
if ((shared & _Py_REF_SHARED_FLAG_MASK) != 0) {
|
|
340
|
+
// Nothing to do if it's in WEAKREFS, QUEUED, or MERGED states.
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
if (_Py_atomic_compare_exchange_ssize(
|
|
344
|
+
&op->ob_ref_shared, &shared, shared | _Py_REF_MAYBE_WEAKREF)) {
|
|
345
|
+
return;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
#endif
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
#ifdef Py_GIL_DISABLED
|
|
352
|
+
static inline int
|
|
353
|
+
_Py_TryIncrefFast(PyObject *op) {
|
|
354
|
+
uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
|
|
355
|
+
local += 1;
|
|
356
|
+
if (local == 0) {
|
|
357
|
+
// immortal
|
|
358
|
+
return 1;
|
|
359
|
+
}
|
|
360
|
+
if (_Py_IsOwnedByCurrentThread(op)) {
|
|
361
|
+
_Py_INCREF_STAT_INC();
|
|
362
|
+
_Py_atomic_store_uint32_relaxed(&op->ob_ref_local, local);
|
|
363
|
+
#ifdef Py_REF_DEBUG
|
|
364
|
+
_Py_IncRefTotal(_PyThreadState_GET());
|
|
365
|
+
#endif
|
|
366
|
+
return 1;
|
|
367
|
+
}
|
|
368
|
+
return 0;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
static inline int
|
|
372
|
+
_Py_TryIncRefShared(PyObject *op)
|
|
373
|
+
{
|
|
374
|
+
Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
|
|
375
|
+
for (;;) {
|
|
376
|
+
// If the shared refcount is zero and the object is either merged
|
|
377
|
+
// or may not have weak references, then we cannot incref it.
|
|
378
|
+
if (shared == 0 || shared == _Py_REF_MERGED) {
|
|
379
|
+
return 0;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
if (_Py_atomic_compare_exchange_ssize(
|
|
383
|
+
&op->ob_ref_shared,
|
|
384
|
+
&shared,
|
|
385
|
+
shared + (1 << _Py_REF_SHARED_SHIFT))) {
|
|
386
|
+
#ifdef Py_REF_DEBUG
|
|
387
|
+
_Py_IncRefTotal(_PyThreadState_GET());
|
|
388
|
+
#endif
|
|
389
|
+
_Py_INCREF_STAT_INC();
|
|
390
|
+
return 1;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
#endif
|
|
395
|
+
|
|
396
|
+
static inline int
|
|
397
|
+
PyUnstable_TryIncRef(PyObject *op __attribute__((__unused__)))
|
|
398
|
+
{
|
|
399
|
+
#ifdef Py_GIL_DISABLED
|
|
400
|
+
return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
|
|
401
|
+
#else
|
|
402
|
+
if (Py_REFCNT(op) > 0) {
|
|
403
|
+
Py_INCREF(op);
|
|
404
|
+
return 1;
|
|
405
|
+
}
|
|
406
|
+
return 0;
|
|
407
|
+
#endif
|
|
408
|
+
}
|
|
409
|
+
#endif
|
|
317
410
|
|
|
318
411
|
NS_ASSUME_NONNULL_END
|
|
319
412
|
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-MetalPerformanceShaders
|
|
3
|
-
Version: 11.
|
|
3
|
+
Version: 11.1
|
|
4
4
|
Summary: Wrappers for the framework MetalPerformanceShaders on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
7
7
|
Author-email: pyobjc-dev@lists.sourceforge.net
|
|
8
|
-
License: MIT
|
|
8
|
+
License: MIT
|
|
9
9
|
Keywords: PyObjC,MetalPerformanceShaders
|
|
10
10
|
Platform: MacOS X (>=10.13)
|
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
12
|
Classifier: Environment :: Console
|
|
13
13
|
Classifier: Environment :: MacOS X :: Cocoa
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
16
15
|
Classifier: Natural Language :: English
|
|
17
16
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
18
17
|
Classifier: Programming Language :: Python
|
|
@@ -30,8 +29,20 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
30
|
Requires-Python: >=3.9
|
|
32
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=11.
|
|
34
|
-
Requires-Dist: pyobjc-framework-Metal>=11.
|
|
32
|
+
Requires-Dist: pyobjc-core>=11.1
|
|
33
|
+
Requires-Dist: pyobjc-framework-Metal>=11.1
|
|
34
|
+
Dynamic: author
|
|
35
|
+
Dynamic: author-email
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: keywords
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: platform
|
|
43
|
+
Dynamic: requires-dist
|
|
44
|
+
Dynamic: requires-python
|
|
45
|
+
Dynamic: summary
|
|
35
46
|
|
|
36
47
|
|
|
37
48
|
Wrappers for the "MetalPerformanceShaders" framework on macOS.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""test suite"""
|
|
@@ -72,6 +72,10 @@ class TestMPSCore_MPSCoreTypes(TestCase):
|
|
|
72
72
|
MetalPerformanceShaders.MPSDataTypeIntBit,
|
|
73
73
|
MetalPerformanceShaders.MPSDataTypeSignedBit,
|
|
74
74
|
)
|
|
75
|
+
self.assertEqual(
|
|
76
|
+
MetalPerformanceShaders.MPSDataTypeInt2,
|
|
77
|
+
MetalPerformanceShaders.MPSDataTypeSignedBit | 2,
|
|
78
|
+
)
|
|
75
79
|
self.assertEqual(
|
|
76
80
|
MetalPerformanceShaders.MPSDataTypeInt4,
|
|
77
81
|
MetalPerformanceShaders.MPSDataTypeSignedBit | 4,
|
|
@@ -92,6 +96,7 @@ class TestMPSCore_MPSCoreTypes(TestCase):
|
|
|
92
96
|
MetalPerformanceShaders.MPSDataTypeInt64,
|
|
93
97
|
MetalPerformanceShaders.MPSDataTypeSignedBit | 64,
|
|
94
98
|
)
|
|
99
|
+
self.assertEqual(MetalPerformanceShaders.MPSDataTypeUInt2, 2)
|
|
95
100
|
self.assertEqual(MetalPerformanceShaders.MPSDataTypeUInt4, 4)
|
|
96
101
|
self.assertEqual(MetalPerformanceShaders.MPSDataTypeUInt8, 8)
|
|
97
102
|
self.assertEqual(MetalPerformanceShaders.MPSDataTypeUInt16, 16)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update:
|
|
4
|
+
// Last update: Sat Mar 1 11:26:50 2025
|
|
5
5
|
{
|
|
6
6
|
"arch": "arm64",
|
|
7
7
|
"definitions": {
|
|
@@ -34875,6 +34875,31 @@
|
|
|
34875
34875
|
},
|
|
34876
34876
|
"selector": "setHasMinValue:",
|
|
34877
34877
|
"visibility": "public"
|
|
34878
|
+
},
|
|
34879
|
+
{
|
|
34880
|
+
"args": [],
|
|
34881
|
+
"class_method": false,
|
|
34882
|
+
"retval": {
|
|
34883
|
+
"typestr": "B",
|
|
34884
|
+
"typestr_special": false
|
|
34885
|
+
},
|
|
34886
|
+
"selector": "implicitZeroPoint",
|
|
34887
|
+
"visibility": "public"
|
|
34888
|
+
},
|
|
34889
|
+
{
|
|
34890
|
+
"args": [
|
|
34891
|
+
{
|
|
34892
|
+
"typestr": "B",
|
|
34893
|
+
"typestr_special": false
|
|
34894
|
+
}
|
|
34895
|
+
],
|
|
34896
|
+
"class_method": false,
|
|
34897
|
+
"retval": {
|
|
34898
|
+
"typestr": "v",
|
|
34899
|
+
"typestr_special": false
|
|
34900
|
+
},
|
|
34901
|
+
"selector": "setImplicitZeroPoint:",
|
|
34902
|
+
"visibility": "public"
|
|
34878
34903
|
}
|
|
34879
34904
|
],
|
|
34880
34905
|
"name": "MPSNDArrayAffineQuantizationDescriptor",
|
|
@@ -34896,6 +34921,15 @@
|
|
|
34896
34921
|
"name": "hasMinValue",
|
|
34897
34922
|
"typestr": "Z",
|
|
34898
34923
|
"typestr_special": true
|
|
34924
|
+
},
|
|
34925
|
+
{
|
|
34926
|
+
"attributes": [
|
|
34927
|
+
"nonatomic",
|
|
34928
|
+
"readwrite"
|
|
34929
|
+
],
|
|
34930
|
+
"name": "implicitZeroPoint",
|
|
34931
|
+
"typestr": "B",
|
|
34932
|
+
"typestr_special": false
|
|
34899
34933
|
}
|
|
34900
34934
|
],
|
|
34901
34935
|
"protocols": [],
|
|
@@ -36744,6 +36778,33 @@
|
|
|
36744
36778
|
},
|
|
36745
36779
|
"selector": "encodeToCommandBuffer:sourceArrays:resultState:destinationArray:",
|
|
36746
36780
|
"visibility": "public"
|
|
36781
|
+
},
|
|
36782
|
+
{
|
|
36783
|
+
"args": [
|
|
36784
|
+
{
|
|
36785
|
+
"typestr": "@",
|
|
36786
|
+
"typestr_special": false
|
|
36787
|
+
},
|
|
36788
|
+
{
|
|
36789
|
+
"typestr": "@",
|
|
36790
|
+
"typestr_special": false
|
|
36791
|
+
},
|
|
36792
|
+
{
|
|
36793
|
+
"typestr": "@",
|
|
36794
|
+
"typestr_special": false
|
|
36795
|
+
},
|
|
36796
|
+
{
|
|
36797
|
+
"typestr": "@",
|
|
36798
|
+
"typestr_special": false
|
|
36799
|
+
}
|
|
36800
|
+
],
|
|
36801
|
+
"class_method": false,
|
|
36802
|
+
"retval": {
|
|
36803
|
+
"typestr": "v",
|
|
36804
|
+
"typestr_special": false
|
|
36805
|
+
},
|
|
36806
|
+
"selector": "encodeToCommandEncoder:commandBuffer:sourceArrays:destinationArray:",
|
|
36807
|
+
"visibility": "public"
|
|
36747
36808
|
}
|
|
36748
36809
|
],
|
|
36749
36810
|
"name": "MPSNDArrayMultiaryKernel",
|
|
@@ -52979,6 +53040,7 @@
|
|
|
52979
53040
|
"MPSDataTypeFloat32": 268435488,
|
|
52980
53041
|
"MPSDataTypeFloatBit": 268435456,
|
|
52981
53042
|
"MPSDataTypeInt16": 536870928,
|
|
53043
|
+
"MPSDataTypeInt2": 536870914,
|
|
52982
53044
|
"MPSDataTypeInt32": 536870944,
|
|
52983
53045
|
"MPSDataTypeInt4": 536870916,
|
|
52984
53046
|
"MPSDataTypeInt64": 536870976,
|
|
@@ -52988,6 +53050,7 @@
|
|
|
52988
53050
|
"MPSDataTypeNormalizedBit": 1073741824,
|
|
52989
53051
|
"MPSDataTypeSignedBit": 536870912,
|
|
52990
53052
|
"MPSDataTypeUInt16": 16,
|
|
53053
|
+
"MPSDataTypeUInt2": 2,
|
|
52991
53054
|
"MPSDataTypeUInt32": 32,
|
|
52992
53055
|
"MPSDataTypeUInt4": 4,
|
|
52993
53056
|
"MPSDataTypeUInt64": 64,
|
|
@@ -55230,7 +55293,7 @@
|
|
|
55230
55293
|
"MPSPackedFloat3": {
|
|
55231
55294
|
"fieldnames": [],
|
|
55232
55295
|
"special": false,
|
|
55233
|
-
"typestr": "{_MPSPackedFloat3=(union (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.
|
|
55296
|
+
"typestr": "{_MPSPackedFloat3=(union (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSRayIntersector.framework/Headers/MPSRayIntersectorTypes.h:27:5)={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSRayIntersector.framework/Headers/MPSRayIntersectorTypes.h:28:9)=fff}[3f])}"
|
|
55234
55297
|
},
|
|
55235
55298
|
"MPSRayOriginDirection": {
|
|
55236
55299
|
"fieldnames": [
|
|
@@ -55512,5 +55575,5 @@
|
|
|
55512
55575
|
"MPSTriangleAccelerationStructure.h"
|
|
55513
55576
|
],
|
|
55514
55577
|
"release": "10.16",
|
|
55515
|
-
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.
|
|
55578
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk"
|
|
55516
55579
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update:
|
|
4
|
+
// Last update: Sat Mar 1 11:26:43 2025
|
|
5
5
|
{
|
|
6
6
|
"arch": "x86_64",
|
|
7
7
|
"definitions": {
|
|
@@ -34875,6 +34875,31 @@
|
|
|
34875
34875
|
},
|
|
34876
34876
|
"selector": "setHasMinValue:",
|
|
34877
34877
|
"visibility": "public"
|
|
34878
|
+
},
|
|
34879
|
+
{
|
|
34880
|
+
"args": [],
|
|
34881
|
+
"class_method": false,
|
|
34882
|
+
"retval": {
|
|
34883
|
+
"typestr": "B",
|
|
34884
|
+
"typestr_special": false
|
|
34885
|
+
},
|
|
34886
|
+
"selector": "implicitZeroPoint",
|
|
34887
|
+
"visibility": "public"
|
|
34888
|
+
},
|
|
34889
|
+
{
|
|
34890
|
+
"args": [
|
|
34891
|
+
{
|
|
34892
|
+
"typestr": "B",
|
|
34893
|
+
"typestr_special": false
|
|
34894
|
+
}
|
|
34895
|
+
],
|
|
34896
|
+
"class_method": false,
|
|
34897
|
+
"retval": {
|
|
34898
|
+
"typestr": "v",
|
|
34899
|
+
"typestr_special": false
|
|
34900
|
+
},
|
|
34901
|
+
"selector": "setImplicitZeroPoint:",
|
|
34902
|
+
"visibility": "public"
|
|
34878
34903
|
}
|
|
34879
34904
|
],
|
|
34880
34905
|
"name": "MPSNDArrayAffineQuantizationDescriptor",
|
|
@@ -34896,6 +34921,15 @@
|
|
|
34896
34921
|
"name": "hasMinValue",
|
|
34897
34922
|
"typestr": "Z",
|
|
34898
34923
|
"typestr_special": true
|
|
34924
|
+
},
|
|
34925
|
+
{
|
|
34926
|
+
"attributes": [
|
|
34927
|
+
"nonatomic",
|
|
34928
|
+
"readwrite"
|
|
34929
|
+
],
|
|
34930
|
+
"name": "implicitZeroPoint",
|
|
34931
|
+
"typestr": "B",
|
|
34932
|
+
"typestr_special": false
|
|
34899
34933
|
}
|
|
34900
34934
|
],
|
|
34901
34935
|
"protocols": [],
|
|
@@ -36744,6 +36778,33 @@
|
|
|
36744
36778
|
},
|
|
36745
36779
|
"selector": "encodeToCommandBuffer:sourceArrays:resultState:destinationArray:",
|
|
36746
36780
|
"visibility": "public"
|
|
36781
|
+
},
|
|
36782
|
+
{
|
|
36783
|
+
"args": [
|
|
36784
|
+
{
|
|
36785
|
+
"typestr": "@",
|
|
36786
|
+
"typestr_special": false
|
|
36787
|
+
},
|
|
36788
|
+
{
|
|
36789
|
+
"typestr": "@",
|
|
36790
|
+
"typestr_special": false
|
|
36791
|
+
},
|
|
36792
|
+
{
|
|
36793
|
+
"typestr": "@",
|
|
36794
|
+
"typestr_special": false
|
|
36795
|
+
},
|
|
36796
|
+
{
|
|
36797
|
+
"typestr": "@",
|
|
36798
|
+
"typestr_special": false
|
|
36799
|
+
}
|
|
36800
|
+
],
|
|
36801
|
+
"class_method": false,
|
|
36802
|
+
"retval": {
|
|
36803
|
+
"typestr": "v",
|
|
36804
|
+
"typestr_special": false
|
|
36805
|
+
},
|
|
36806
|
+
"selector": "encodeToCommandEncoder:commandBuffer:sourceArrays:destinationArray:",
|
|
36807
|
+
"visibility": "public"
|
|
36747
36808
|
}
|
|
36748
36809
|
],
|
|
36749
36810
|
"name": "MPSNDArrayMultiaryKernel",
|
|
@@ -52979,6 +53040,7 @@
|
|
|
52979
53040
|
"MPSDataTypeFloat32": 268435488,
|
|
52980
53041
|
"MPSDataTypeFloatBit": 268435456,
|
|
52981
53042
|
"MPSDataTypeInt16": 536870928,
|
|
53043
|
+
"MPSDataTypeInt2": 536870914,
|
|
52982
53044
|
"MPSDataTypeInt32": 536870944,
|
|
52983
53045
|
"MPSDataTypeInt4": 536870916,
|
|
52984
53046
|
"MPSDataTypeInt64": 536870976,
|
|
@@ -52988,6 +53050,7 @@
|
|
|
52988
53050
|
"MPSDataTypeNormalizedBit": 1073741824,
|
|
52989
53051
|
"MPSDataTypeSignedBit": 536870912,
|
|
52990
53052
|
"MPSDataTypeUInt16": 16,
|
|
53053
|
+
"MPSDataTypeUInt2": 2,
|
|
52991
53054
|
"MPSDataTypeUInt32": 32,
|
|
52992
53055
|
"MPSDataTypeUInt4": 4,
|
|
52993
53056
|
"MPSDataTypeUInt64": 64,
|
|
@@ -55230,7 +55293,7 @@
|
|
|
55230
55293
|
"MPSPackedFloat3": {
|
|
55231
55294
|
"fieldnames": [],
|
|
55232
55295
|
"special": false,
|
|
55233
|
-
"typestr": "{_MPSPackedFloat3=(union (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.
|
|
55296
|
+
"typestr": "{_MPSPackedFloat3=(union (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSRayIntersector.framework/Headers/MPSRayIntersectorTypes.h:27:5)={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSRayIntersector.framework/Headers/MPSRayIntersectorTypes.h:28:9)=fff}[3f])}"
|
|
55234
55297
|
},
|
|
55235
55298
|
"MPSRayOriginDirection": {
|
|
55236
55299
|
"fieldnames": [
|
|
@@ -55512,5 +55575,5 @@
|
|
|
55512
55575
|
"MPSTriangleAccelerationStructure.h"
|
|
55513
55576
|
],
|
|
55514
55577
|
"release": "10.16",
|
|
55515
|
-
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.
|
|
55578
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk"
|
|
55516
55579
|
}
|
|
@@ -11,12 +11,11 @@ To change this file:
|
|
|
11
11
|
|
|
12
12
|
__all__ = ("setup", "Extension", "Command")
|
|
13
13
|
|
|
14
|
+
import importlib
|
|
14
15
|
import os
|
|
15
|
-
import pkg_resources
|
|
16
16
|
import plistlib
|
|
17
17
|
import re
|
|
18
18
|
import shlex
|
|
19
|
-
import shutil
|
|
20
19
|
import subprocess
|
|
21
20
|
import sys
|
|
22
21
|
import tempfile
|
|
@@ -138,10 +137,6 @@ class oc_test(Command):
|
|
|
138
137
|
self.verbosity = int(self.verbosity)
|
|
139
138
|
|
|
140
139
|
def cleanup_environment(self):
|
|
141
|
-
from pkg_resources import add_activation_listener
|
|
142
|
-
|
|
143
|
-
add_activation_listener(lambda dist: dist.activate())
|
|
144
|
-
|
|
145
140
|
ei_cmd = self.get_finalized_command("egg_info")
|
|
146
141
|
egg_name = ei_cmd.egg_name.replace("-", "_")
|
|
147
142
|
|
|
@@ -155,12 +150,9 @@ class oc_test(Command):
|
|
|
155
150
|
log.info(f"removing installed {dirname!r} from sys.path before testing")
|
|
156
151
|
sys.path.remove(dirname)
|
|
157
152
|
|
|
158
|
-
|
|
153
|
+
importlib.invalidate_caches()
|
|
159
154
|
|
|
160
155
|
def add_project_to_sys_path(self):
|
|
161
|
-
from pkg_resources import normalize_path, add_activation_listener
|
|
162
|
-
from pkg_resources import working_set, require
|
|
163
|
-
|
|
164
156
|
self.reinitialize_command("egg_info")
|
|
165
157
|
self.run_command("egg_info")
|
|
166
158
|
self.reinitialize_command("build_ext", inplace=1)
|
|
@@ -173,20 +165,16 @@ class oc_test(Command):
|
|
|
173
165
|
del sys.modules["PyObjCTools"]
|
|
174
166
|
|
|
175
167
|
ei_cmd = self.get_finalized_command("egg_info")
|
|
176
|
-
sys.path.insert(0,
|
|
168
|
+
sys.path.insert(0, os.path.abspath(ei_cmd.egg_base))
|
|
177
169
|
sys.path.insert(1, os.path.dirname(__file__))
|
|
178
170
|
|
|
179
|
-
|
|
180
|
-
working_set.__init__()
|
|
181
|
-
require(f"{ei_cmd.egg_name}=={ei_cmd.egg_version}")
|
|
171
|
+
importlib.invalidate_caches()
|
|
182
172
|
|
|
183
173
|
def remove_from_sys_path(self):
|
|
184
|
-
from pkg_resources import working_set
|
|
185
|
-
|
|
186
174
|
sys.path[:] = self.__old_path
|
|
187
175
|
sys.modules.clear()
|
|
188
176
|
sys.modules.update(self.__old_modules)
|
|
189
|
-
|
|
177
|
+
importlib.invalidate_caches()
|
|
190
178
|
|
|
191
179
|
def run(self):
|
|
192
180
|
self.cleanup_environment()
|
|
@@ -235,7 +223,6 @@ Development Status :: 5 - Production/Stable
|
|
|
235
223
|
Environment :: Console
|
|
236
224
|
Environment :: MacOS X :: Cocoa
|
|
237
225
|
Intended Audience :: Developers
|
|
238
|
-
License :: OSI Approved :: MIT License
|
|
239
226
|
Natural Language :: English
|
|
240
227
|
Operating System :: MacOS :: MacOS X
|
|
241
228
|
Programming Language :: Python
|
|
@@ -450,28 +437,7 @@ class pyobjc_build_ext(build_ext.build_ext):
|
|
|
450
437
|
# in 2.3 and later the headers are in the egg,
|
|
451
438
|
# before that we ship a copy.
|
|
452
439
|
if os.path.exists("Modules") and not os.path.isfile("Modules/pyobjc-api.h"):
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
include_root = os.path.join(self.build_temp, "pyobjc-include")
|
|
456
|
-
if os.path.exists(include_root):
|
|
457
|
-
shutil.rmtree(include_root)
|
|
458
|
-
|
|
459
|
-
os.makedirs(include_root)
|
|
460
|
-
if dist.has_metadata("include"):
|
|
461
|
-
for fn in dist.metadata_listdir("include"):
|
|
462
|
-
data = dist.get_metadata(f"include/{fn}")
|
|
463
|
-
fp = open(os.path.join(include_root, fn), "w")
|
|
464
|
-
try:
|
|
465
|
-
fp.write(data)
|
|
466
|
-
finally:
|
|
467
|
-
fp.close()
|
|
468
|
-
|
|
469
|
-
else:
|
|
470
|
-
raise SystemExit("pyobjc-core egg-info does not include header files")
|
|
471
|
-
|
|
472
|
-
for e in self.extensions:
|
|
473
|
-
if include_root not in e.include_dirs:
|
|
474
|
-
e.include_dirs.append(include_root)
|
|
440
|
+
raise DistutilsError("pyobjc-api.h not included")
|
|
475
441
|
|
|
476
442
|
# Run the actual build
|
|
477
443
|
build_ext.build_ext.run(self)
|
|
@@ -708,7 +674,7 @@ def setup(
|
|
|
708
674
|
dependency_links=[],
|
|
709
675
|
package_data={"": ["*.bridgesupport"]},
|
|
710
676
|
zip_safe=False,
|
|
711
|
-
license="MIT
|
|
677
|
+
license="MIT",
|
|
712
678
|
classifiers=CLASSIFIERS,
|
|
713
679
|
python_requires=">=3.9",
|
|
714
680
|
keywords=["PyObjC"] + [p for p in k["packages"] if p not in ("PyObjCTools",)],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
""" test suite """
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|