https://github.com/halide/Halide
Raw File
Tip revision: 435639838572731f34ee68861a21c7e2951b3973 authored by Aelphy on 16 January 2024, 19:10:54 UTC
Added efficient gather load to Q7
Tip revision: 4356398
windows_yield.cpp
#include "runtime_internal.h"

#ifdef BITS_64
#define WIN32API
#else
#define WIN32API __stdcall
#endif

extern "C" WIN32API int32_t Sleep(int32_t timeout);

extern "C" WEAK void halide_thread_yield() {
    Sleep(0);
}
back to top