https://github.com/halide/Halide
Raw File
Tip revision: 0efd871e7f9ea600dae452eee9d1cad2f7356720 authored by Z Stern on 08 October 2022, 14:51:23 UTC
Checkpoint work toward roundtrip test.
Tip revision: 0efd871
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