Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
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#include <remote.h>
5
6#ifndef __QAIC_HEADER
7#define __QAIC_HEADER(ff) ff
8#endif //__QAIC_HEADER
9
10#ifndef __QAIC_HEADER_EXPORT
11#define __QAIC_HEADER_EXPORT
12#endif // __QAIC_HEADER_EXPORT
13
14#ifndef __QAIC_HEADER_ATTRIBUTE
15#define __QAIC_HEADER_ATTRIBUTE
16#endif // __QAIC_HEADER_ATTRIBUTE
17
18#ifndef __QAIC_IMPL
19#define __QAIC_IMPL(ff) ff
20#endif //__QAIC_IMPL
21
22#ifndef __QAIC_IMPL_EXPORT
23#define __QAIC_IMPL_EXPORT
24#endif // __QAIC_IMPL_EXPORT
25
26#ifndef __QAIC_IMPL_ATTRIBUTE
27#define __QAIC_IMPL_ATTRIBUTE
28#endif // __QAIC_IMPL_ATTRIBUTE
29#ifdef __cplusplus
30 extern "C" {
31#endif
32 typedef struct _halide_hexagon_remote_buffer__seq_octet _halide_hexagon_remote_buffer__seq_octet;
33 typedef _halide_hexagon_remote_buffer__seq_octet halide_hexagon_remote_buffer;
34 struct _halide_hexagon_remote_buffer__seq_octet {
35 unsigned char* data;
36 int dataLen;
37};
38 typedef unsigned int halide_hexagon_remote_handle_t;
39 typedef uint64 halide_hexagon_remote_scalar_t;
40__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;
41__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;
42__QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_power_hvx_on)(void) __QAIC_HEADER_ATTRIBUTE;
43__QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_power_hvx_off)(void) __QAIC_HEADER_ATTRIBUTE;
44__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;
45__QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_release_library)(halide_hexagon_remote_handle_t module_ptr) __QAIC_HEADER_ATTRIBUTE;
46__QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_poll_log)(char* log, int logLen, int* read_size) __QAIC_HEADER_ATTRIBUTE;
47__QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_poll_profiler_state)(int* func, int* threads) __QAIC_HEADER_ATTRIBUTE;
48__QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_profiler_set_current_func)(int current_func) __QAIC_HEADER_ATTRIBUTE;
49__QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_set_performance_mode)(int mode) __QAIC_HEADER_ATTRIBUTE;
50__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;
51__QAIC_HEADER_EXPORT int __QAIC_HEADER(halide_hexagon_remote_set_thread_priority)(int priority) __QAIC_HEADER_ATTRIBUTE;
52#ifdef __cplusplus
53}
54#endif
55#endif //_HALIDE_HEXAGON_REMOTE_H
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_power_hvx_on
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_power_hvx_on(void) __QAIC_HEADER_ATTRIBUTE
halide_hexagon_remote_scalar_t
uint64 halide_hexagon_remote_scalar_t
Definition halide_hexagon_remote.h:39
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_poll_profiler_state
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_poll_profiler_state(int *func, int *threads) __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
__QAIC_HEADER
#define __QAIC_HEADER(ff)
Definition halide_hexagon_remote.h:7
halide_hexagon_remote_handle_t
unsigned int halide_hexagon_remote_handle_t
Definition halide_hexagon_remote.h:38
__QAIC_HEADER_ATTRIBUTE
#define __QAIC_HEADER_ATTRIBUTE
Definition halide_hexagon_remote.h:15
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_hexagon_remote_buffer
_halide_hexagon_remote_buffer__seq_octet halide_hexagon_remote_buffer
Definition halide_hexagon_remote.h:33
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_power_hvx_off
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_power_hvx_off(void) __QAIC_HEADER_ATTRIBUTE
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_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_set_performance_mode
__QAIC_HEADER_EXPORT int __QAIC_HEADER() halide_hexagon_remote_set_performance_mode(int mode) __QAIC_HEADER_ATTRIBUTE
__QAIC_HEADER_EXPORT
#define __QAIC_HEADER_EXPORT
Definition halide_hexagon_remote.h:11
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_buffer__seq_octet
Definition halide_hexagon_remote.h:34
_halide_hexagon_remote_buffer__seq_octet::data
unsigned char * data
Definition halide_hexagon_remote.h:35
_halide_hexagon_remote_buffer__seq_octet::dataLen
int dataLen
Definition halide_hexagon_remote.h:36