|
@@ -45,7 +45,6 @@
|
|
|
|
|
|
|
|
|
static unsigned nfpgafpgas = -1;
|
|
|
-static struct starpu_fpga_device_properties props[STARPU_MAXFPGADEVS];
|
|
|
static size_t global_mem[STARPU_MAXFPGADEVS] = { 128ULL*1024*1024*1024 };
|
|
|
|
|
|
static void _starpu_fpga_limit_global_mem(unsigned );
|
|
@@ -84,15 +83,6 @@ int fpga_allocate_memory(fpga_mem *ptr, size_t size)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-int starpu_fpga_get_device_properties(struct starpu_fpga_device_properties *props, unsigned devid)
|
|
|
-{
|
|
|
-
|
|
|
- props->totalGlobalMem=1*1024*1024;
|
|
|
- props->concurrentKernels=4;
|
|
|
- props->name="Fpga_Props_Name";
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
void _starpu_fpga_discover_devices (struct _starpu_machine_config *config)
|
|
|
{
|
|
|
|
|
@@ -131,7 +121,6 @@ static void init_device_context(unsigned devid)
|
|
|
|
|
|
starpu_fpga_set_device(devid);
|
|
|
|
|
|
- starpu_fpga_get_device_properties(&props[devid], devid);
|
|
|
|
|
|
|
|
|
|