https://github.com/halide/Halide
Raw File
Tip revision: 77237d8b86feebacb387227f2a9565c266bcafe4 authored by Steven Johnson on 03 September 2019, 22:58:45 UTC
Add a way for binary2cpp to emit vis=hidden; use this for all our halide_internal_initmod data
Tip revision: 77237d8
android_host_cpu_count.cpp
#include "HalideRuntime.h"

extern "C" {

extern long sysconf(int);

WEAK int halide_host_cpu_count() {
    // Works for Android ARMv7. Probably bogus on other platforms.
    return sysconf(97);
}

}
back to top