https://github.com/halide/Halide
Raw File
Tip revision: 10687b5457dc89c6f8992816f1540cba72c3e893 authored by Andrew Adams on 09 February 2024, 19:20:56 UTC
Fix rfactor adding too many pure loops
Tip revision: 10687b5
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