https://github.com/halide/Halide
Raw File
Tip revision: 44e20000a05cd634702b3c3a1f364a6d5f4e9478 authored by Alexander Root on 12 July 2021, 15:08:40 UTC
add data collection code + some simplifier rules
Tip revision: 44e2000
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