Переглянути джерело

The users should not be able to provide their own copy methods without defining a new interface.

Cyril Roelandt 13 роки тому
батько
коміт
4865cd03ab

+ 0 - 1
include/starpu_data_interfaces.h

@@ -367,7 +367,6 @@ struct starpu_multiformat_data_interface_ops
 	struct starpu_codelet *cpu_to_cuda_cl;
 	struct starpu_codelet *cuda_to_cpu_cl;
 #endif
-	struct starpu_data_copy_methods *copy;
 };
 
 struct starpu_multiformat_interface

+ 0 - 2
src/datawizard/interfaces/multiformat_interface.c

@@ -195,8 +195,6 @@ void starpu_multiformat_data_register(starpu_data_handle_t *handleptr,
 		.ops        = format_ops
 	};
 
-	if (format_ops->copy)
-		interface_multiformat_ops.copy_methods = format_ops->copy;
 	starpu_data_register(handleptr, home_node, &multiformat, &interface_multiformat_ops);
 }