1 // SPDX-License-Identifier: MIT
2 //
3 // Copyright 2024 Advanced Micro Devices, Inc.
4 
5 #include "dml2_debug.h"
6 
dml2_log_internal(const char * format,...)7 int dml2_log_internal(const char *format, ...)
8 {
9 	return 0;
10 }
11 
dml2_printf(const char * format,...)12 int dml2_printf(const char *format, ...)
13 {
14 #ifdef _DEBUG
15 #ifdef _DEBUG_PRINTS
16 	int result;
17 	va_list args;
18 	va_start(args, format);
19 
20 	result = vprintf(format, args);
21 
22 	va_end(args);
23 
24 	return result;
25 #else
26 	return 0;
27 #endif
28 #else
29 	return 0;
30 #endif
31 }
32 
dml2_assert(int condition)33 void dml2_assert(int condition)
34 {
35 	//ASSERT(condition);
36 }
37