|
@@ -17,7 +17,7 @@
|
|
|
#include <core/workers.h>
|
|
|
#include <drivers/max/driver_fpga.h>
|
|
|
|
|
|
-static struct starpu_driver_info driver_info = {
|
|
|
+static struct _starpu_driver_info driver_info = {
|
|
|
.name_upper = "FPGA",
|
|
|
.name_var = "FPGA",
|
|
|
.name_lower = "fpga",
|
|
@@ -25,13 +25,13 @@ static struct starpu_driver_info driver_info = {
|
|
|
.alpha = 0.5,
|
|
|
};
|
|
|
|
|
|
-static struct starpu_memory_driver_info memory_driver_info = {
|
|
|
+static struct _starpu_memory_driver_info memory_driver_info = {
|
|
|
.name_upper = "FPGA",
|
|
|
.worker_archtype = STARPU_FPGA_WORKER,
|
|
|
};
|
|
|
|
|
|
void _starpu_fpga_preinit(void)
|
|
|
{
|
|
|
- starpu_driver_info_register(STARPU_FPGA_WORKER, &driver_info);
|
|
|
- starpu_memory_driver_info_register(STARPU_FPGA_RAM, &memory_driver_info);
|
|
|
+ _starpu_driver_info_register(STARPU_FPGA_WORKER, &driver_info);
|
|
|
+ _starpu_memory_driver_info_register(STARPU_FPGA_RAM, &memory_driver_info);
|
|
|
}
|