Commit 58abfba4 by xiaotong

remove commented lines

parent 4cabf059
...@@ -267,8 +267,6 @@ void _CudaSpreadForGather(XTensor * source, XTensor * collection, int dim, ...@@ -267,8 +267,6 @@ void _CudaSpreadForGather(XTensor * source, XTensor * collection, int dim,
XMemCopy(si, source->devID, srcIndex, -1, sizeof(int) * indexSize); XMemCopy(si, source->devID, srcIndex, -1, sizeof(int) * indexSize);
XMemCopy(ci, collection->devID, collIndex, -1, sizeof(int) * indexSize); XMemCopy(ci, collection->devID, collIndex, -1, sizeof(int) * indexSize);
//XMemCopy(si, source->devID, srcIndex, -1, sizeof(int));
//XMemCopy(ci, collection->devID, collIndex, -1, sizeof(int));
DTYPE * s = (DTYPE*)source->data; DTYPE * s = (DTYPE*)source->data;
DTYPE * c = (DTYPE*)collection->data; DTYPE * c = (DTYPE*)collection->data;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论