Browse Source

Follow-up with r6233: make complex_copy_methods non-const

Samuel Thibault 13 years ago
parent
commit
22a5b5d3d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/interface/complex_interface.c

+ 1 - 1
examples/interface/complex_interface.c

@@ -261,7 +261,7 @@ static int copy_opencl_to_ram(void *src_interface, unsigned src_node,
 	return 0;
 }
 #endif
-static const struct starpu_data_copy_methods complex_copy_methods =
+static struct starpu_data_copy_methods complex_copy_methods =
 {
 #ifdef STARPU_USE_CUDA
 	.ram_to_cuda = copy_ram_to_cuda,