提交 7875d3de authored 作者: Bogdan Budescu's avatar Bogdan Budescu

windows port

dynamic linking to avoid FLS index overrun; "||" instead of "or"
上级 94e8a2ff
......@@ -35,3 +35,4 @@ distribute-*.egg
distribute-*.tar.gz
Theano.suo
*.DS_Store
*.bak
\ No newline at end of file
......@@ -279,7 +279,7 @@ class NVCC_compiler(object):
if sys.platform == 'win32':
# add flags for Microsoft compiler to create .pdb files
preargs2.append('/Zi')
preargs2.extend(['/Zi', '/MD'])
cmd.extend(['-Xlinker', '/DEBUG'])
if local_bitwidth() == 64:
......
......@@ -452,7 +452,7 @@ class GPU_mrg_uniform(mrg_uniform_base, GpuOp):
y2 += x23;
y2 -= (y2 < 0 || y2 >= M2) ? M2 : 0;
y2 += y1;
y2 -= (y2 < 0 or y2 >= M2) ? M2 : 0;
y2 -= (y2 < 0 || y2 >= M2) ? M2 : 0;
x23 = x22;
x22 = x21;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论