https://github.com/halide/Halide
Raw File
Tip revision: bb689eefe24a159789871f995bb2b6eacbd29d26 authored by Andrew Adams on 17 March 2023, 22:24:03 UTC
Redo CPU schedule for bilateral grid
Tip revision: bb689ee
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