Explorar o código

Follow-up with r6233: make complex_copy_methods non-const

Samuel Thibault %!s(int64=13) %!d(string=hai) anos
pai
achega
22a5b5d3d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,