1 #include "HalideRuntime.h"
2 
3 extern "C" {
4 
5 #define ANDROID_LOG_INFO 4
6 
7 extern int __android_log_print(int, const char *, const char *, ...);
8 
halide_default_print(void * user_context,const char * str)9 WEAK void halide_default_print(void *user_context, const char *str) {
10     __android_log_print(ANDROID_LOG_INFO, "halide", "%s", str);
11 }
12 }
13