Browse Source

src/datawizard/interfaces/variable_interface.c: rename dummy_copy_ram_to_ram() to copy_ram_to_ram()

Nathalie Furmento 14 years ago
parent
commit
5865baa946
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/datawizard/interfaces/variable_interface.c

+ 3 - 3
src/datawizard/interfaces/variable_interface.c

@@ -25,7 +25,7 @@
 #include <starpu_opencl.h>
 #include <starpu_opencl.h>
 #include <drivers/opencl/driver_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
 #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_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)));
 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
 #endif
 
 
 static const struct starpu_data_copy_methods variable_copy_data_methods_s = {
 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,
 	.ram_to_spu = NULL,
 #ifdef STARPU_USE_CUDA
 #ifdef STARPU_USE_CUDA
 	.ram_to_cuda = copy_ram_to_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
 #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 *src_variable = src_interface;
 	starpu_variable_interface_t *dst_variable = dst_interface;
 	starpu_variable_interface_t *dst_variable = dst_interface;