yum-archive/TaSTT-Whisper
High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model
git clone https://git.yummers.dev/yum-archive/TaSTT-Whisper
11c399b
master
1#include "stdafx.h" 2#include "mlStartup.h" 3#include "../D3D/startup.h" 4#include "LookupTables.h" 5 6namespace 7{ 8static DirectCompute ::LookupTables s_tables ; 9} 10 11namespace DirectCompute 12{ 13const LookupTables & lookupTables = s_tables ; 14 15HRESULT mlStartup (uint32_t flags ) 16 { 17CHECK (d3dStartup (flags ) ); 18CHECK (s_tables .create () ); 19return S_OK ; 20 } 21 22void mlShutdown () 23 { 24s_tables .clear (); 25d3dShutdown (); 26 } 27}