https://github.com/halide/Halide
Raw File
Tip revision: cf1c2e19a4b489692ef7ef795309fd73aedd6db1 authored by Patricia Suriana on 11 December 2017, 17:27:31 UTC
Modify profiler output
Tip revision: cf1c2e1
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