|
@@ -25,7 +25,7 @@
|
|
|
#include <starpu_opencl.h>
|
|
|
#include <drivers/opencl/driver_opencl.h>
|
|
|
|
|
|
-static int dummy_copy_ram_to_ram(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node __attribute__((unused)));
|
|
|
+static int copy_ram_to_ram(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node __attribute__((unused)));
|
|
|
#ifdef STARPU_USE_CUDA
|
|
|
static int copy_ram_to_cuda(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node __attribute__((unused)));
|
|
|
static int copy_cuda_to_ram(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node __attribute__((unused)));
|
|
@@ -40,7 +40,7 @@ static int copy_opencl_to_ram_async(void *src_interface, unsigned src_node, void
|
|
|
#endif
|
|
|
|
|
|
static const struct starpu_data_copy_methods variable_copy_data_methods_s = {
|
|
|
- .ram_to_ram = dummy_copy_ram_to_ram,
|
|
|
+ .ram_to_ram = copy_ram_to_ram,
|
|
|
.ram_to_spu = NULL,
|
|
|
#ifdef STARPU_USE_CUDA
|
|
|
.ram_to_cuda = copy_ram_to_cuda,
|
|
@@ -395,7 +395,7 @@ static int copy_opencl_to_ram(void *src_interface, unsigned src_node __attribute
|
|
|
|
|
|
#endif
|
|
|
|
|
|
-static int dummy_copy_ram_to_ram(void *src_interface, unsigned src_node __attribute__((unused)), void *dst_interface, unsigned dst_node __attribute__((unused)))
|
|
|
+static int copy_ram_to_ram(void *src_interface, unsigned src_node __attribute__((unused)), void *dst_interface, unsigned dst_node __attribute__((unused)))
|
|
|
{
|
|
|
starpu_variable_interface_t *src_variable = src_interface;
|
|
|
starpu_variable_interface_t *dst_variable = dst_interface;
|