https://github.com/halide/Halide
Raw File
Tip revision: 4f82da431885e003d7fd6d703cbb97061287f2e7 authored by Dillon Sharlet on 16 December 2020, 04:56:49 UTC
Merge branch 'master' of https://github.com/halide/Halide into srj-strided-store
Tip revision: 4f82da4
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