1 #include "HalideRuntime.h" 2 3 extern "C" { 4 5 extern long sysconf(int); 6 halide_host_cpu_count()7 WEAK int halide_host_cpu_count() { 8 return sysconf(84); 9 } 10 } 11