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

KonstantinOptional startup flags to override performance-related defaults for the compute shaders11c399b

master
312 B17 linesraw
1#include "stdafx.h"
2#include "startup.h"
3#include "device.h"
4
5HRESULT DirectCompute::d3dStartup( uint32_t flags )
6{
7	HRESULT hr = DirectCompute::initialize( flags );
8	if( SUCCEEDED( hr ) )
9		hr = createComputeShaders();
10	return hr;
11}
12
13void DirectCompute::d3dShutdown()
14{
15	destroyComputeShaders();
16	terminate();
17}