Loading...
Searching...
No Matches
hexagon_dma_pool.h
Go to the documentation of this file.
#ifndef _HEXAGON_DMA_POOL_H_
#define _HEXAGON_DMA_POOL_H_
#include "HalideRuntime.h"
#ifdef COMPILING_HALIDE_RUNTIME
// Guard this with COMPILING_HALIDE_RUNTIME so that apps/hexagon_dma
// can include this file without getting runtime_internal.h
#include "runtime_internal.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
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 int halide_hexagon_free_dma_resource(void *user_context, 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);
#ifdef __cplusplus
}
#endif
#endif
HalideRuntime.h
This file declares the routines used by Halide internally in its runtime.
halide_locked_cache_malloc
WEAK void * halide_locked_cache_malloc(void *user_context, size_t size)
halide_hexagon_free_dma_resource
WEAK int halide_hexagon_free_dma_resource(void *user_context, void *virtual_engine_id)
halide_hexagon_allocate_from_dma_pool
WEAK void * halide_hexagon_allocate_from_dma_pool(void *user_context, void *virtual_engine_id)
halide_hexagon_allocate_dma_resource
WEAK void * halide_hexagon_allocate_dma_resource(void *user_context)
halide_hexagon_free_to_dma_pool
WEAK int halide_hexagon_free_to_dma_pool(void *user_context, void *dma_engine, void *virtual_engine_id)
halide_locked_cache_free
WEAK void halide_locked_cache_free(void *user_context, void *ptr)
halide_hexagon_allocate_l2_pool
WEAK int halide_hexagon_allocate_l2_pool(void *user_context)
halide_hexagon_free_l2_pool
WEAK int halide_hexagon_free_l2_pool(void *user_context)
runtime_internal.h
WEAK
#define WEAK
Definition runtime_internal.h:52