• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright © 2022 Mary Guillemard
3  * SPDX-License-Identifier: MIT
4  */
5 #ifndef MME_FERMI_SIM_H
6 #define MME_FERMI_SIM_H
7 
8 #include <stdint.h>
9 #include <stdlib.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 struct mme_fermi_inst;
16 
17 struct mme_fermi_sim_mem {
18    uint64_t addr;
19    void *data;
20    size_t size;
21 };
22 
23 void mme_fermi_sim(uint32_t inst_count, const struct mme_fermi_inst *insts,
24                    uint32_t param_count, const uint32_t *params,
25                    uint32_t mem_count, struct mme_fermi_sim_mem *mems);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif /* MME_FERMI_SIM_H */
32