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