瀏覽代碼

Follow-up with r6233: make complex_copy_methods non-const

Samuel Thibault 13 年之前
父節點
當前提交
22a5b5d3d7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 	return 0;
 }
 }
 #endif
 #endif
-static const struct starpu_data_copy_methods complex_copy_methods =
+static struct starpu_data_copy_methods complex_copy_methods =
 {
 {
 #ifdef STARPU_USE_CUDA
 #ifdef STARPU_USE_CUDA
 	.ram_to_cuda = copy_ram_to_cuda,
 	.ram_to_cuda = copy_ram_to_cuda,