MPSGraphExecutable.RunAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| RunAsync(IMTL4CommandQueue, MPSGraphTensorData[], MPSGraphTensorData[], MPSGraphExecutableExecutionDescriptor) |
Esegue l'eseguibile in modo asincrono in una coda di comandi metal 4. |
| RunAsync(IMTLCommandQueue, MPSGraphTensorData[], MPSGraphTensorData[], MPSGraphExecutableExecutionDescriptor) |
RunAsync(IMTL4CommandQueue, MPSGraphTensorData[], MPSGraphTensorData[], MPSGraphExecutableExecutionDescriptor)
Esegue l'eseguibile in modo asincrono in una coda di comandi metal 4.
[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[]
Parametri
- commandQueue
- IMTL4CommandQueue
- inputsArray
- MPSGraphTensorData[]
- resultsArray
- MPSGraphTensorData[]
- executionDescriptor
- MPSGraphExecutableExecutionDescriptor
Valori restituiti
- Attributi
Si applica a
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[]
Parametri
- commandQueue
- IMTLCommandQueue
- inputsArray
- MPSGraphTensorData[]
- resultsArray
- MPSGraphTensorData[]
- executionDescriptor
- MPSGraphExecutableExecutionDescriptor
Valori restituiti
- Attributi