https://github.com/halide/Halide
Raw File
Tip revision: 9dbfcd52980e94e53f5c4664b78c0b0669e12d9d authored by Andrew Adams on 14 March 2024, 21:48:12 UTC
Don't do arm neon instruction selection on scalars
Tip revision: 9dbfcd5
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