浏览代码

port r15822 from 1.2: fix small issues

Samuel Thibault 9 年之前
父节点
当前提交
fc5aa874a0
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      src/datawizard/copy_driver.c
  2. 0 1
      src/drivers/mp_common/mp_common.c

+ 1 - 1
src/datawizard/copy_driver.c

@@ -528,7 +528,7 @@ int STARPU_ATTRIBUTE_WARN_UNUSED_RESULT _starpu_driver_copy_data_1_to_1(starpu_d
 }
 }
 
 
 /* This can be used by interfaces to easily transfer a piece of data without
 /* This can be used by interfaces to easily transfer a piece of data without
- * caring about the particular CUDA/OpenCL methods.  */
+ * caring about the particular transfer methods.  */
 
 
 /* This should either return 0 if the transfer is complete, or -EAGAIN if the
 /* This should either return 0 if the transfer is complete, or -EAGAIN if the
  * transfer is still pending, and will have to be waited for by
  * transfer is still pending, and will have to be waited for by

+ 0 - 1
src/drivers/mp_common/mp_common.c

@@ -104,7 +104,6 @@ _starpu_mp_common_node_create(enum _starpu_mp_node_kind node_kind,
 	{
 	{
 		node->init = _starpu_scc_src_init;
 		node->init = _starpu_scc_src_init;
 		node->deinit = NULL;
 		node->deinit = NULL;
-		node->deinit = NULL;
 		node->report_error = _starpu_scc_common_report_rcce_error;
 		node->report_error = _starpu_scc_common_report_rcce_error;
 				
 				
 		node->mp_recv_is_ready = _starpu_scc_common_recv_is_ready;
 		node->mp_recv_is_ready = _starpu_scc_common_recv_is_ready;