https://github.com/halide/Halide
Raw File
Tip revision: fd35c683103793fab5b55c9bfedc7c89a190df2a authored by Ron Lieberman on 04 September 2017, 00:24:52 UTC
Modify runtimes to display profile command when PACKET_ANALYZE is enabled
Tip revision: fd35c68
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