1 #include "HalideRuntime.h" 2 3 extern "C" { 4 halide_default_print(void * user_context,const char * str)5WEAK void halide_default_print(void *user_context, const char *str) { 6 write(STDOUT_FILENO, str, strlen(str)); 7 } 8 } 9
1 #include "HalideRuntime.h" 2 3 extern "C" { 4 halide_default_print(void * user_context,const char * str)5WEAK void halide_default_print(void *user_context, const char *str) { 6 write(STDOUT_FILENO, str, strlen(str)); 7 } 8 } 9