https://github.com/halide/Halide
Raw File
Tip revision: f815f9dc7d937876fa6975c6bab4f5df4581def8 authored by Steven Johnson on 25 July 2019, 00:28:48 UTC
Add missing std:: in front of cerr
Tip revision: f815f9d
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