https://github.com/halide/Halide
Raw File
Tip revision: cb6f4a9c3fc8d989965f9eec4067d0f6cb3ba299 authored by Steven Johnson on 31 March 2020, 18:12:43 UTC
Merge pull request #4810 from halide/srj-pr
Tip revision: cb6f4a9
fuchsia_host_cpu_count.cpp
#include "HalideRuntime.h"

extern "C" {

uint32_t zx_system_get_num_cpus(void);

WEAK int halide_host_cpu_count() {
    return (int)zx_system_get_num_cpus();
}
}
back to top