https://github.com/halide/Halide
Raw File
Tip revision: 29196bc88a715e4aff5aa16ab6068491dbab0128 authored by Andrew Adams on 16 April 2020, 21:17:54 UTC
If a constant wildcard doesn't actually need to be constant, make it so.
Tip revision: 29196bc
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