1 #ifndef HALIDE_HALIDERUNTIMEHEXAGONDMA_H 2 #define HALIDE_HALIDERUNTIMEHEXAGONDMA_H 9 #ifndef HALIDE_HALIDERUNTIME_H 16 #ifndef HALIDE_HALIDERUNTIMEHEXAGONHOST_H 83 void *dma_engine,
bool is_ubwc,
104 #endif // HALIDE_HALIDERUNTIMEHEXAGONDMA_H
int halide_hexagon_dma_allocate_engine(void *user_context, void **dma_engine)
This API will allocate a DMA Engine needed for DMA read/write.
halide_hexagon_image_fmt_t
Image Formats to prepare the application for DMA Transfer.
halide_hexagon_power_mode_t
Power modes for Hexagon.
int halide_hexagon_dma_power_mode_voting(void *user_context, halide_hexagon_power_mode_t cornercase)
This API is used to setup the hexagon Operation modes.
int halide_hexagon_dma_device_detach_native(void *user_context, struct halide_buffer_t *buf)
Detach the Input/Output Buffer from DMA device handle and deallocate the DMA device handle buffer all...
This file declares the routines used by Halide internally in its runtime.
int halide_hexagon_dma_unprepare(void *user_context, struct halide_buffer_t *buf)
This API is used to frees up the DMA Resources associated with the buffer.
Each GPU API provides a halide_device_interface_t struct pointing to the code that manages device all...
int halide_hexagon_dma_prepare_for_copy_to_host(void *user_context, struct halide_buffer_t *buf, void *dma_engine, bool is_ubwc, halide_hexagon_image_fmt_t fmt)
This API Prepares a buffer for DMA Read Operation.
int halide_hexagon_dma_deallocate_engine(void *user_context, void *dma_engine)
This API free up the allocated DMA engine.
Routines specific to the Halide Hexagon host-side runtime.
int halide_hexagon_dma_prepare_for_copy_to_device(void *user_context, struct halide_buffer_t *buf, void *dma_engine, bool is_ubwc, halide_hexagon_image_fmt_t fmt)
This API Prepares a buffer for DMA Write Operation.
The raw representation of an image passed around by generated Halide code.
unsigned __INT64_TYPE__ uint64_t
int halide_hexagon_dma_device_wrap_native(void *user_context, struct halide_buffer_t *buf, uint64_t mem)
This API is used to set up the DMA device interface to be used for DMA transfer.
const struct halide_device_interface_t * halide_hexagon_dma_device_interface()