|
|
@@ -38,7 +38,11 @@ extern struct _starpu_node_ops _starpu_driver_fpga_node_ops;
|
|
|
|
|
|
int fpgaSetDevice(unsigned devid);
|
|
|
void _starpu_init_fpga(void);
|
|
|
+#ifdef STARPU_USE_FPGA
|
|
|
void _starpu_fpga_discover_devices (struct _starpu_machine_config *config);
|
|
|
+#else
|
|
|
+#define _starpu_fpga_discover_devices(config) ((void) config)
|
|
|
+#endif
|
|
|
unsigned _starpu_fpga_get_device_count(void);
|
|
|
|
|
|
uintptr_t _starpu_fpga_allocate_memory(unsigned dst_node, size_t size, int flags);
|