Halide
HalideRuntimeQurt.h
Go to the documentation of this file.
1 #ifndef HALIDE_HALIDERUNTIMEQURT_H
2 #define HALIDE_HALIDERUNTIMEQURT_H
3 
4 // Don't include HalideRuntime.h if the contents of it were already pasted into a generated header above this one
5 #ifndef HALIDE_HALIDERUNTIME_H
6 
7 #include "HalideRuntime.h"
8 
9 #endif
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 /** \file
16  * Routines specific to the Halide QuRT runtime.
17  */
18 
19 /** Lock and unlock an HVX context.
20  * A successful call to hvx_lock must be followed by a call to
21  * hvx_unlock. */
22 // @{
23 extern int halide_qurt_hvx_lock(void *user_context);
24 extern int halide_qurt_hvx_unlock(void *user_context);
25 extern void halide_qurt_hvx_unlock_as_destructor(void *user_context, void * /*obj*/);
26 // @}
27 
28 #ifdef __cplusplus
29 } // End extern "C"
30 #endif
31 
32 #endif // HALIDE_HALIDERUNTIMEQURT_H
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.
HalideRuntime.h
halide_qurt_hvx_unlock
int halide_qurt_hvx_unlock(void *user_context)