Halide  12.0.1
Halide compiler and libraries
hexagon_dma_pool.h
Go to the documentation of this file.
1 #ifndef _HEXAGON_DMA_POOL_H_
2 #define _HEXAGON_DMA_POOL_H_
3 
4 #ifdef COMPILING_HALIDE_RUNTIME
5 // Guard this with COMPILING_HALIDE_RUNTIME so that apps/hexagon_dma
6 // can include this file without getting runtime_internal.h
7 #include "runtime_internal.h"
8 #endif
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
15 
16 WEAK void *halide_hexagon_allocate_from_dma_pool(void *user_context, void *virtual_engine_id);
17 
18 WEAK int halide_hexagon_free_to_dma_pool(void *user_context, void *dma_engine, void *virtual_engine_id);
19 
20 WEAK int halide_hexagon_free_dma_resource(void *user_context, void *virtual_engine_id);
21 
22 WEAK void *halide_locked_cache_malloc(void *user_context, size_t size);
23 
25 
27 
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif
WEAK int halide_hexagon_free_dma_resource(void *user_context, void *virtual_engine_id)
WEAK void * halide_hexagon_allocate_dma_resource(void *user_context)
WEAK void * halide_hexagon_allocate_from_dma_pool(void *user_context, void *virtual_engine_id)
WEAK int halide_hexagon_free_to_dma_pool(void *user_context, void *dma_engine, void *virtual_engine_id)
WEAK void * halide_locked_cache_malloc(void *user_context, size_t size)
WEAK void halide_locked_cache_free(void *user_context, void *ptr)
WEAK int halide_hexagon_allocate_l2_pool(void *user_context)
WEAK int halide_hexagon_free_l2_pool(void *user_context)
void * user_context
Definition: printer.h:33
#define WEAK