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

KonstantinExperimental, alternative busy wait implementationcacec67

master
366 B16 linesraw
1#pragma once
2#include "../D3D/device.h"
3#include "DelayExecution.h"
4
5namespace DirectCompute
6{
7	// A simple profiler which doesn't collect anything, used to measure time it took to load the model
8	class GpuProfilerSimple
9	{
10		DelayExecution delay;
11		CComPtr<ID3D11Query> disjoint, begin, end;
12	public:
13		HRESULT create();
14		HRESULT time( uint64_t& rdi ) const;
15	};
16}