Package org.robovm.apple.metalps
Class MPSMatrixVectorMultiplication
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSKernel
-
- org.robovm.apple.metalps.MPSMatrixBinaryKernel
-
- org.robovm.apple.metalps.MPSMatrixVectorMultiplication
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class MPSMatrixVectorMultiplication extends MPSMatrixBinaryKernel
- Since:
- Available in iOS 11.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSMatrixVectorMultiplication.MPSMatrixVectorMultiplicationPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSMatrixBinaryKernel
MPSMatrixBinaryKernel.MPSMatrixBinaryKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSKernel
MPSKernel.MPSKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MPSMatrixVectorMultiplication()
MPSMatrixVectorMultiplication(NSCoder decoder)
MPSMatrixVectorMultiplication(NSCoder decoder, MTLDevice device)
protected
MPSMatrixVectorMultiplication(NSObject.Handle h, long handle)
protected
MPSMatrixVectorMultiplication(NSObject.SkipInit skipInit)
MPSMatrixVectorMultiplication(MTLDevice device, boolean transpose, long rows, long columns, double alpha, double beta)
MPSMatrixVectorMultiplication(MTLDevice device, long rows, long columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(MTLCommandBuffer commandBuffer, MPSMatrix inputMatrix, MPSVector inputVector, MPSVector resultVector)
protected long
init(MTLDevice device, boolean transpose, long rows, long columns, double alpha, double beta)
protected long
init(MTLDevice device, long rows, long columns)
-
Methods inherited from class org.robovm.apple.metalps.MPSMatrixBinaryKernel
getBatchSize, getBatchStart, getPrimarySourceMatrixOrigin, getResultMatrixOrigin, getSecondarySourceMatrixOrigin, setBatchSize, setBatchStart, setPrimarySourceMatrixOrigin, setResultMatrixOrigin, setSecondarySourceMatrixOrigin
-
Methods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, init, init, setLabel, setOptions, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
MPSMatrixVectorMultiplication
public MPSMatrixVectorMultiplication()
-
MPSMatrixVectorMultiplication
protected MPSMatrixVectorMultiplication(NSObject.Handle h, long handle)
-
MPSMatrixVectorMultiplication
protected MPSMatrixVectorMultiplication(NSObject.SkipInit skipInit)
-
MPSMatrixVectorMultiplication
public MPSMatrixVectorMultiplication(MTLDevice device, boolean transpose, long rows, long columns, double alpha, double beta)
-
MPSMatrixVectorMultiplication
public MPSMatrixVectorMultiplication(MTLDevice device, long rows, long columns)
-
MPSMatrixVectorMultiplication
public MPSMatrixVectorMultiplication(NSCoder decoder)
-
-
Method Detail
-
init
protected long init(MTLDevice device, boolean transpose, long rows, long columns, double alpha, double beta)
-
init
protected long init(MTLDevice device, long rows, long columns)
-
encode
public void encode(MTLCommandBuffer commandBuffer, MPSMatrix inputMatrix, MPSVector inputVector, MPSVector resultVector)
-
-