MetalShaderLibrary

Models & Types · AiDotNet.Tensors.Engines.DirectGpu.Metal

No summary documentation available yet.

Implements: IDisposable

Constructors

Constructor Summary
MetalShaderLibrary(MetalDevice device)

Properties

Property Summary
MetalDevice Device { get; }
int CachedLibraryCount { get; }
int CachedPipelineStateCount { get; }

Methods

Method Summary
IReadOnlyList<string> GetFunctionNames(IntPtr library)
IntPtr CompileLibrary(string libraryName, string source)
IntPtr CompileLibrary(string libraryName, string source, bool requireStrictFloatingPoint)
IntPtr GetFunction(IntPtr library, string functionName)
MetalPipelineState CreatePipelineState(IntPtr function)
MetalPipelineState GetOrCreatePipelineState(string libraryName, string source, string functionName)
void ClearCache()
void Dispose()