Halide
halide_hexagon_remote.h
Go to the documentation of this file.
1 #ifndef _HALIDE_HEXAGON_REMOTE_H
2 #define _HALIDE_HEXAGON_REMOTE_H
3 #include "AEEStdDef.h"
4 #ifndef __QAIC_HEADER
5 #define __QAIC_HEADER(ff) ff
6 #endif //__QAIC_HEADER
7 
8 #ifndef __QAIC_HEADER_EXPORT
9 #define __QAIC_HEADER_EXPORT
10 #endif // __QAIC_HEADER_EXPORT
11 
12 #ifndef __QAIC_HEADER_ATTRIBUTE
13 #define __QAIC_HEADER_ATTRIBUTE
14 #endif // __QAIC_HEADER_ATTRIBUTE
15 
16 #ifndef __QAIC_IMPL
17 #define __QAIC_IMPL(ff) ff
18 #endif //__QAIC_IMPL
19 
20 #ifndef __QAIC_IMPL_EXPORT
21 #define __QAIC_IMPL_EXPORT
22 #endif // __QAIC_IMPL_EXPORT
23 
24 #ifndef __QAIC_IMPL_ATTRIBUTE
25 #define __QAIC_IMPL_ATTRIBUTE
26 #endif // __QAIC_IMPL_ATTRIBUTE
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
33  unsigned char* data;
34  int dataLen;
35 };
36 typedef unsigned int halide_hexagon_remote_handle_t;
38 __QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_load_library)(const char* soname, int sonameLen, const unsigned char* code, int codeLen, halide_hexagon_remote_handle_t* module_ptr) __QAIC_HEADER_ATTRIBUTE;
42 __QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_run_v2)(halide_hexagon_remote_handle_t module_ptr, halide_hexagon_remote_handle_t symbol, const halide_hexagon_remote_buffer* input_buffers, int input_buffersLen, halide_hexagon_remote_buffer* output_buffers, int output_buffersLen, const halide_hexagon_remote_scalar_t* scalars, int scalarsLen) __QAIC_HEADER_ATTRIBUTE;
48 __QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_set_performance)(int set_mips, unsigned int mipsPerThread, unsigned int mipsTotal, int set_bus_bw, unsigned int bwMegabytesPerSec, unsigned int busbwUsagePercentage, int set_latency, int latency) __QAIC_HEADER_ATTRIBUTE;
50 #ifdef __cplusplus
51 }
52 #endif
53 #endif //_HALIDE_HEXAGON_REMOTE_H
_halide_hexagon_remote_buffer__seq_octet::dataLen
int dataLen
Definition: halide_hexagon_remote.h:34
halide_hexagon_remote_profiler_set_current_func
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_profiler_set_current_func(int current_func) __QAIC_HEADER_ATTRIBUTE
_halide_hexagon_remote_buffer__seq_octet::data
unsigned char * data
Definition: halide_hexagon_remote.h:33
__QAIC_HEADER_EXPORT
#define __QAIC_HEADER_EXPORT
Definition: halide_hexagon_remote.h:9
__QAIC_HEADER_ATTRIBUTE
#define __QAIC_HEADER_ATTRIBUTE
Definition: halide_hexagon_remote.h:13
halide_hexagon_remote_power_hvx_on
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_power_hvx_on(void) __QAIC_HEADER_ATTRIBUTE
_halide_hexagon_remote_buffer__seq_octet
Definition: halide_hexagon_remote.h:32
halide_hexagon_remote_buffer
_halide_hexagon_remote_buffer__seq_octet halide_hexagon_remote_buffer
Definition: halide_hexagon_remote.h:31
halide_hexagon_remote_release_library
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_release_library(halide_hexagon_remote_handle_t module_ptr) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_load_library
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_load_library(const char *soname, int sonameLen, const unsigned char *code, int codeLen, halide_hexagon_remote_handle_t *module_ptr) __QAIC_HEADER_ATTRIBUTE
Halide::log
Expr log(Expr x)
Return the logarithm of a floating-point expression.
__QAIC_HEADER
#define __QAIC_HEADER(ff)
Definition: halide_hexagon_remote.h:5
halide_hexagon_remote_power_hvx_off
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_power_hvx_off(void) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_set_performance
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_set_performance(int set_mips, unsigned int mipsPerThread, unsigned int mipsTotal, int set_bus_bw, unsigned int bwMegabytesPerSec, unsigned int busbwUsagePercentage, int set_latency, int latency) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_scalar_t
uint64 halide_hexagon_remote_scalar_t
Definition: halide_hexagon_remote.h:37
halide_hexagon_remote_poll_log
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_poll_log(char *log, int logLen, int *read_size) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_set_performance_mode
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_set_performance_mode(int mode) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_run_v2
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_run_v2(halide_hexagon_remote_handle_t module_ptr, halide_hexagon_remote_handle_t symbol, const halide_hexagon_remote_buffer *input_buffers, int input_buffersLen, halide_hexagon_remote_buffer *output_buffers, int output_buffersLen, const halide_hexagon_remote_scalar_t *scalars, int scalarsLen) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_set_thread_priority
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_set_thread_priority(int priority) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_get_symbol_v4
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_get_symbol_v4(halide_hexagon_remote_handle_t module_ptr, const char *name, int nameLen, halide_hexagon_remote_handle_t *sym_ptr) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_handle_t
unsigned int halide_hexagon_remote_handle_t
Definition: halide_hexagon_remote.h:36
halide_hexagon_remote_poll_profiler_state
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_poll_profiler_state(int *func, int *threads) __QAIC_HEADER_ATTRIBUTE