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

KonstantinFixed the old sample project012be51

master
742 B31 linesraw
1#pragma once
2
3#ifdef  __cplusplus
4extern "C" {
5#endif
6
7struct ggml_tensor;
8
9void logError( const char8_t* pszFormat, ... );
10void logWarning( const char8_t* pszFormat, ... );
11void logInfo( const char8_t* pszFormat, ... );
12void logDebug( const char8_t* pszFormat, ... );
13
14#ifdef  __cplusplus
15}
16
17namespace Tracing
18{
19	struct ItemName
20	{
21		ItemName( const char* str ) { }
22		ItemName( const char* str, uint32_t a0 ) { }
23		ItemName( const char* str, int a0 ) { }
24	};
25
26	inline void tensor( const ItemName& name, const ggml_tensor* tensor ) { }
27	inline void delayTensor( const ItemName& name, const ggml_tensor* tensor ) { }
28	inline void vector( const ItemName& name, const std::vector<float>& vec ) { }
29	inline void writeDelayedTensors() { }
30}
31#endif