提交 4135b1d9 authored 作者: Frederic's avatar Frederic

update comments.

上级 5a47c4b6
...@@ -862,11 +862,10 @@ class GpuCAReduce(GpuOp): ...@@ -862,11 +862,10 @@ class GpuCAReduce(GpuOp):
extern __shared__ float buf[]; extern __shared__ float buf[];
float myresult = 0.0f; float myresult = 0.0f;
//This is caught in cuda/init.py when we init the gpu. I keep
//it here to ease finding code that rely on this.
if (warpSize != 32) if (warpSize != 32)
{ {
// TODO: set error code
// 2012-09-20 IG: as of today, Fred says he will check
// this elsewhere, in a different PR
Z[0] = -666; Z[0] = -666;
return; return;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论