https://github.com/halide/Halide
Raw File
Tip revision: 131498dbc388411fca6f6bab0d7817ea744db9e9 authored by Steven Johnson on 07 January 2020, 23:04:49 UTC
Merge branch 'master' into srj-hvx-nocopy
Tip revision: 131498d
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