https://github.com/halide/Halide
Raw File
Tip revision: a482838cd5b7cc650047d656662624a37af5c534 authored by Dillon Sharlet on 20 July 2021, 21:10:29 UTC
Merge branch 'master' into ds/while
Tip revision: a482838
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