Loading...
Searching...
No Matches
HalideRuntimeQurt.h
Go to the documentation of this file.
#ifndef HALIDE_HALIDERUNTIMEQURT_H
#define HALIDE_HALIDERUNTIMEQURT_H
// Don't include HalideRuntime.h if the contents of it were already pasted into a generated header above this one
#ifndef HALIDE_HALIDERUNTIME_H
#include "HalideRuntime.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
/** \file
* Routines specific to the Halide QuRT runtime.
*/
/** Lock and unlock an HVX context.
* A successful call to hvx_lock must be followed by a call to
* hvx_unlock. */
// @{
extern int halide_qurt_hvx_lock(void *user_context);
extern int halide_qurt_hvx_unlock(void *user_context);
extern void halide_qurt_hvx_unlock_as_destructor(void *user_context, void * /*obj*/);
// @}
#ifdef __cplusplus
} // End extern "C"
#endif
#endif // HALIDE_HALIDERUNTIMEQURT_H
HalideRuntime.h
This file declares the routines used by Halide internally in its runtime.
halide_qurt_hvx_unlock_as_destructor
void halide_qurt_hvx_unlock_as_destructor(void *user_context, void *)
halide_qurt_hvx_lock
int halide_qurt_hvx_lock(void *user_context)
Lock and unlock an HVX context.
halide_qurt_hvx_unlock
int halide_qurt_hvx_unlock(void *user_context)