https://github.com/halide/Halide
Raw File
Tip revision: bc10623004361501d5cb234e418ebb3fae8333e7 authored by Andrew Adams on 26 April 2022, 17:38:39 UTC
Merge branch 'abadams/averaging_tree' of https://github.com/halide/Halide into abadams/averaging_tree
Tip revision: bc10623
osx_host_cpu_count.cpp
#include "HalideRuntime.h"

extern "C" {

extern long sysconf(int);

WEAK int halide_host_cpu_count() {
    return sysconf(58);
}
}
back to top