https://github.com/halide/Halide
Raw File
Tip revision: d7d662c0cad38b7ba326df2dadf4c1bc9a7d1a87 authored by Steven Johnson on 25 February 2020, 17:50:03 UTC
Merge branch 'master' into srj-alloca
Tip revision: d7d662c
android_io.cpp
#include "HalideRuntime.h"

extern "C" {

#define ANDROID_LOG_INFO 4

extern int __android_log_print(int, const char *, const char *, ...);

WEAK void halide_default_print(void *user_context, const char *str) {
    __android_log_print(ANDROID_LOG_INFO, "halide", "%s", str);
}
}
back to top