提交 7c4ef142 authored 作者: James Bergstra's avatar James Bergstra

GpuSum - fixed the error string in one of the fialure cases

上级 0956a9fb
......@@ -969,7 +969,7 @@ class GpuSum(Op):
if (cudaSuccess != sts)
{
PyErr_Format(PyExc_RuntimeError, "Cuda error: %%s: %%s. (grid: %%i x %%i; block: %%i x %%i x %%i)\\n",
"kernel_reduce_sum_010_%(name)s",
"kernel_reduce_sum_0101_%(name)s",
cudaGetErrorString(sts),
n_blocks.x,
n_blocks.y,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论