MPSGraphExecutable.RunAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| RunAsync(IMTL4CommandQueue, MPSGraphTensorData[], MPSGraphTensorData[], MPSGraphExecutableExecutionDescriptor) |
Runs the executable asynchronously on a Metal 4 command queue. |
| RunAsync(IMTLCommandQueue, MPSGraphTensorData[], MPSGraphTensorData[], MPSGraphExecutableExecutionDescriptor) |
RunAsync(IMTL4CommandQueue, MPSGraphTensorData[], MPSGraphTensorData[], MPSGraphExecutableExecutionDescriptor)
Runs the executable asynchronously on a Metal 4 command queue.
[Foundation.Export("runAsyncWithMTL4CommandQueue:inputsArray:resultsArray:executionDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.UnsupportedSimulator("ios")]
public virtual MetalPerformanceShadersGraph.MPSGraphTensorData[] RunAsync(Metal.IMTL4CommandQueue commandQueue, MetalPerformanceShadersGraph.MPSGraphTensorData[] inputsArray, MetalPerformanceShadersGraph.MPSGraphTensorData[]? resultsArray, MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor? executionDescriptor);
[Foundation.Export("runAsyncWithMTL4CommandQueue:inputsArray:resultsArray:executionDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShadersGraph.MPSGraphTensorData[] RunAsync(Metal.IMTL4CommandQueue commandQueue, MetalPerformanceShadersGraph.MPSGraphTensorData[] inputsArray, MetalPerformanceShadersGraph.MPSGraphTensorData[]? resultsArray, MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor? executionDescriptor);
[Foundation.Export("runAsyncWithMTL4CommandQueue:inputsArray:resultsArray:executionDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.UnsupportedSimulator("tvos")]
public virtual MetalPerformanceShadersGraph.MPSGraphTensorData[] RunAsync(Metal.IMTL4CommandQueue commandQueue, MetalPerformanceShadersGraph.MPSGraphTensorData[] inputsArray, MetalPerformanceShadersGraph.MPSGraphTensorData[]? resultsArray, MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor? executionDescriptor);
[<Foundation.Export("runAsyncWithMTL4CommandQueue:inputsArray:resultsArray:executionDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.UnsupportedSimulator("ios")>]
abstract member RunAsync : Metal.IMTL4CommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
override this.RunAsync : Metal.IMTL4CommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
[<Foundation.Export("runAsyncWithMTL4CommandQueue:inputsArray:resultsArray:executionDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunAsync : Metal.IMTL4CommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
override this.RunAsync : Metal.IMTL4CommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
[<Foundation.Export("runAsyncWithMTL4CommandQueue:inputsArray:resultsArray:executionDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.UnsupportedSimulator("tvos")>]
abstract member RunAsync : Metal.IMTL4CommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
override this.RunAsync : Metal.IMTL4CommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
Parameters
- commandQueue
- IMTL4CommandQueue
- inputsArray
- MPSGraphTensorData[]
- resultsArray
- MPSGraphTensorData[]
- executionDescriptor
- MPSGraphExecutableExecutionDescriptor
Returns
- Attributes
Applies to
RunAsync(IMTLCommandQueue, MPSGraphTensorData[], MPSGraphTensorData[], MPSGraphExecutableExecutionDescriptor)
[Foundation.Export("runAsyncWithMTLCommandQueue:inputsArray:resultsArray:executionDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShadersGraph.MPSGraphTensorData[] RunAsync(Metal.IMTLCommandQueue commandQueue, MetalPerformanceShadersGraph.MPSGraphTensorData[] inputsArray, MetalPerformanceShadersGraph.MPSGraphTensorData[]? resultsArray, MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor? executionDescriptor);
[<Foundation.Export("runAsyncWithMTLCommandQueue:inputsArray:resultsArray:executionDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunAsync : Metal.IMTLCommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
override this.RunAsync : Metal.IMTLCommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
Parameters
- commandQueue
- IMTLCommandQueue
- inputsArray
- MPSGraphTensorData[]
- resultsArray
- MPSGraphTensorData[]
- executionDescriptor
- MPSGraphExecutableExecutionDescriptor
Returns
- Attributes