namespace Whisper { /// Implementation value for the factory function public enum eModelImplementation: uint { /// GPGPU implementation based on Direct3D 11.0 compute shaders GPU = 1, /// A hybrid implementation which uses DirectCompute for encode, and decodes on CPU /// /// The build of the native DLL included into this nuget package doesn’t implement this version.
/// To enable, edit stdafx.h in Whisper project, change the value of BUILD_HYBRID_VERSION macro from zero to one, and build.
/// This implementation requires a CPU with AVX1, FMA3, F16C and BMI1 instruction set extensions. ///
Hybrid = 2, /// A reference implementation which uses the original GGML CPU-running code. /// /// The build of the native DLL included into this nuget package doesn’t implement this version either.
/// To enable, edit stdafx.h in Whisper project, change the value of BUILD_BOTH_VERSIONS macro from zero to one, and build the project.
/// This implementation requires a CPU with AVX1, FMA3, and F16C instruction set extensions. ///
Reference = 3, } }