瀏覽代碼

explain why preferring transfer from destination

Samuel Thibault 13 年之前
父節點
當前提交
018023820d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/datawizard/coherency.c

+ 1 - 0
src/datawizard/coherency.c

@@ -197,6 +197,7 @@ static int link_supports_direct_transfers(starpu_data_handle_t handle, unsigned
 	}
 #endif
 
+	/* Note: with CUDA, performance seems a bit better when issuing the transfer from the destination (tested without GPUDirect) */
 	if (worker_supports_direct_access(src_node, dst_node))
 	{
 		*handling_node = dst_node;