https://github.com/halide/Halide
Raw File
Tip revision: f6779bd565fdd8e8e845a418e9c5900f0b4b181a authored by Ron Lieberman on 21 June 2018, 15:06:08 UTC
Move host_malloc_deinit inside destructor
Tip revision: f6779bd
linux_yield.cpp
#include "runtime_internal.h"

extern "C" int sched_yield();

namespace Halide { namespace Runtime { namespace Internal {

WEAK void halide_thread_yield() {
    sched_yield();
}

}}}
back to top