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
32
33
34
35
36
37
// SPDX-License-Identifier: MIT
//
// Copyright 2024 Advanced Micro Devices, Inc.

#include "dml2_debug.h"

int dml2_log_internal(const char *format, ...)
{
	return 0;
}

int dml2_printf(const char *format, ...)
{
#ifdef _DEBUG
#ifdef _DEBUG_PRINTS
	int result;
	va_list args;
	va_start(args, format);

	result = vprintf(format, args);

	va_end(args);

	return result;
#else
	return 0;
#endif
#else
	return 0;
#endif
}

void dml2_assert(int condition)
{
	//ASSERT(condition);
}
无论今后遇到什么事情,都请不要后悔与我的相遇