https://github.com/halide/Halide
Raw File
Tip revision: d7adf79c8ffe31852988e2c8248649b2e2f71776 authored by Steven Johnson on 29 July 2019, 19:53:04 UTC
Merge pull request #4062 from halide/srj-aslog
Tip revision: d7adf79
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