Commit 148b2577 by liyinqiao

Clean the codes. (This version cannot run on the GPUs with pascal and much older framework).

parent a095188b
...@@ -553,8 +553,7 @@ void _funcName(const XTensor * input, XTensor * output, int dim) ...@@ -553,8 +553,7 @@ void _funcName(const XTensor * input, XTensor * output, int dim)
} \ } \
blockSize = stride * strideNum; \ blockSize = stride * strideNum; \
\ \
int devID = input->devID; \ int devID = input->devID; \ \
\
int devIDBackup; \ int devIDBackup; \
ProtectCudaDev(input->devID, devIDBackup); \ ProtectCudaDev(input->devID, devIDBackup); \
\ \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论