https://github.com/halide/Halide
Raw File
Tip revision: 25524c2c0bc5e0c15bd905eb247eaf415822dc72 authored by Matthias Kramm on 04 June 2018, 17:21:03 UTC
Add unit test for NotImplementedError from Python extension.
Tip revision: 25524c2
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