Halide
|
Go to the source code of this file.
Classes | |
struct | _qurt_thread_attr |
Thread attributes. More... | |
union | qurt_mutex_aligned8 |
QuRT mutex type. More... | |
union | qurt_cond_t |
QuRT condition variable type. More... | |
Namespaces | |
Halide | |
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it. | |
Halide::Runtime | |
Halide::Runtime::Internal | |
Halide::Runtime::Internal::Qurt | |
Typedefs | |
typedef unsigned int | qurt_thread_t |
typedef struct _qurt_thread_attr | qurt_thread_attr_t |
Thread attributes. More... | |
typedef union qurt_mutex_aligned8 | qurt_mutex_t |
QuRT mutex type. More... | |
typedef unsigned int | qurt_size_t |
typedef unsigned int | qurt_mem_pool_t |
Enumerations | |
enum | { Halide::Runtime::Internal::Qurt::QURT_EOK = 0 } |
enum | qurt_hvx_mode_t { QURT_HVX_MODE_64B = 0, QURT_HVX_MODE_128B = 1 } |
Functions | |
int | qurt_thread_set_priority (qurt_thread_t threadid, unsigned short newprio) |
int | qurt_thread_create (qurt_thread_t *thread_id, qurt_thread_attr_t *attr, void(*entrypoint)(void *), void *arg) |
int | qurt_thread_join (unsigned int tid, int *status) |
Waits for a specified thread to finish. More... | |
void | qurt_mutex_init (qurt_mutex_t *lock) |
void | qurt_mutex_destroy (qurt_mutex_t *lock) |
void | qurt_mutex_lock (qurt_mutex_t *lock) |
void | qurt_mutex_unlock (qurt_mutex_t *lock) |
void | qurt_cond_init (qurt_cond_t *cond) |
void | qurt_cond_destroy (qurt_cond_t *cond) |
void | qurt_cond_signal (qurt_cond_t *cond) |
void | qurt_cond_wait (qurt_cond_t *cond, qurt_mutex_t *mutex) |
int | qurt_hvx_lock (qurt_hvx_mode_t lock_mode) |
int | qurt_hvx_unlock (void) |
int | qurt_hvx_get_mode (void) |
typedef unsigned int qurt_thread_t |
Definition at line 18 of file mini_qurt.h.
typedef struct _qurt_thread_attr qurt_thread_attr_t |
Thread attributes.
typedef union qurt_mutex_aligned8 qurt_mutex_t |
QuRT mutex type.
Both non-recursive mutex lock/unlock and recursive mutex lock/unlock can be applied to this type.
typedef unsigned int qurt_size_t |
Definition at line 245 of file mini_qurt.h.
typedef unsigned int qurt_mem_pool_t |
Definition at line 246 of file mini_qurt.h.
enum qurt_hvx_mode_t |
Enumerator | |
---|---|
QURT_HVX_MODE_64B | HVX mode of 64 bytes. |
QURT_HVX_MODE_128B | HVX mode of 128 bytes. |
Definition at line 236 of file mini_qurt.h.
int qurt_thread_set_priority | ( | qurt_thread_t | threadid, |
unsigned short | newprio | ||
) |
int qurt_thread_create | ( | qurt_thread_t * | thread_id, |
qurt_thread_attr_t * | attr, | ||
void(*)(void *) | entrypoint, | ||
void * | arg | ||
) |
int qurt_thread_join | ( | unsigned int | tid, |
int * | status | ||
) |
Waits for a specified thread to finish.
The specified thread should be another thread within the same process. The caller thread is suspended until the specified thread exits. When this happens the caller thread is awakened.
[in] | tid | Thread identifier. |
[out] | status | Destination variable for thread exit status. Returns an application-defined value indicating the termination status of the specified thread. |
void qurt_mutex_init | ( | qurt_mutex_t * | lock | ) |
void qurt_mutex_destroy | ( | qurt_mutex_t * | lock | ) |
void qurt_mutex_lock | ( | qurt_mutex_t * | lock | ) |
void qurt_mutex_unlock | ( | qurt_mutex_t * | lock | ) |
void qurt_cond_init | ( | qurt_cond_t * | cond | ) |
void qurt_cond_destroy | ( | qurt_cond_t * | cond | ) |
void qurt_cond_signal | ( | qurt_cond_t * | cond | ) |
void qurt_cond_wait | ( | qurt_cond_t * | cond, |
qurt_mutex_t * | mutex | ||
) |
int qurt_hvx_lock | ( | qurt_hvx_mode_t | lock_mode | ) |
int qurt_hvx_unlock | ( | void | ) |
int qurt_hvx_get_mode | ( | void | ) |