12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #ifndef __STARPU_FPGA_H__
- #define __STARPU_FPGA_H__
- #include <starpu_config.h>
- #if defined STARPU_USE_FPGA
- #include <MaxSLiCInterface.h>
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- struct starpu_fpga_data_trans
- {
- int size;
- float time;
- };
- struct starpu_max_load
- {
- max_file_t *file;
- const char *engine_id_pattern;
- };
- void starpu_fpga_report_configuration(void);
- int starpu_fpga_set_device(unsigned devid);
- int starpu_fpga_is_silent();
- max_engine_t *starpu_fpga_get_local_engine(void);
- #ifdef __cplusplus
- }
- #endif
- #endif
- #endif
|