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