https://github.com/halide/Halide
Raw File
Tip revision: 825d863e7bd82bc00ca59be3934e1a0199a45dd2 authored by Andrew Adams on 22 May 2018, 21:11:35 UTC
Add stripped-down version of simplifier
Tip revision: 825d863
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