https://github.com/halide/Halide
Raw File
Tip revision: 5b06a146baf69df1cf2c7dc20a3815e130d1fd63 authored by Andrew Adams on 31 December 2020, 00:49:16 UTC
Address review comments
Tip revision: 5b06a14
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