xref: /aosp_15_r20/external/mesa3d/src/gallium/drivers/etnaviv/etnaviv_ml_nn.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright (c) 2023-2024 Tomeu Vizoso <[email protected]>
3  * SPDX-License-Identifier: MIT
4  */
5 
6 #include "etnaviv_ml.h"
7 
8 void
9 etna_ml_lower_convolution(struct etna_ml_subgraph *subgraph,
10                           const struct pipe_ml_operation *poperation,
11                           struct etna_operation *operation);
12 
13 void
14 etna_ml_lower_add(struct etna_ml_subgraph *subgraph,
15                   const struct pipe_ml_operation *poperation,
16                   struct etna_operation *operation);
17 
18 void
19 etna_ml_compile_operation_nn(struct etna_ml_subgraph *subgraph,
20                              const struct etna_operation *operation,
21                              struct etna_vip_instruction *instruction);
22 
23 void
24 etna_ml_emit_operation_nn(struct etna_ml_subgraph *subgraph,
25                           struct etna_vip_instruction *operation,
26                           unsigned idx);