Halide  12.0.1
Halide compiler and libraries
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 // @{
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
This file declares the routines used by Halide internally in its runtime.
void halide_qurt_hvx_unlock_as_destructor(void *user_context, void *)
int halide_qurt_hvx_lock(void *user_context)
Lock and unlock an HVX context.
int halide_qurt_hvx_unlock(void *user_context)
void * user_context
Definition: printer.h:33