提交 4c03457c authored 作者: Frederic's avatar Frederic

Remove debug code leftover and fix problem on windows raised by code review.

上级 c23e936e
...@@ -128,7 +128,6 @@ class GpuGemm(BlasOp, Gemm): ...@@ -128,7 +128,6 @@ class GpuGemm(BlasOp, Gemm):
return code return code
def c_code_cache_version(self): def c_code_cache_version(self):
return
return (0,) return (0,)
...@@ -161,7 +160,9 @@ class GpuDot22(BlasOp, Dot22): ...@@ -161,7 +160,9 @@ class GpuDot22(BlasOp, Dot22):
double one = 1.; double one = 1.;
double zero = 0.; double zero = 0.;
size_t dims[] = {PyGpuArray_DIMS(%(A)s)[0], PyGpuArray_DIMS(%(B)s)[1]}; size_t dims[] = {0, 0};
dims[0] = PyGpuArray_DIMS(%(A)s)[0];
dims[1] = PyGpuArray_DIMS(%(B)s)[1];
%(out)s = pygpu_empty(2, dims, %(out)s = pygpu_empty(2, dims,
%(typecode)s, %(typecode)s,
...@@ -186,7 +187,6 @@ class GpuDot22(BlasOp, Dot22): ...@@ -186,7 +187,6 @@ class GpuDot22(BlasOp, Dot22):
return code return code
def c_code_cache_version(self): def c_code_cache_version(self):
return
return (0,) return (0,)
def c_headers(self): def c_headers(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论