提交 56a081da authored 作者: Caglar's avatar Caglar

Fix the error.

上级 117a0aa2
...@@ -50,9 +50,9 @@ class GpuSolve(GpuOp): ...@@ -50,9 +50,9 @@ class GpuSolve(GpuOp):
# Initialize CULA the first time it is needed # Initialize CULA the first time it is needed
global cula_initialized global cula_initialized
if not cula_available: if not (cula_available and cula):
raise RuntimeError('Cula is not available and ' raise RuntimeError('Cula is not available and '
'GpuSolve Op can not be called.') 'GpuSolve Op can not be constructed.')
if not cula_initialized: if not cula_initialized:
cula.culaInitialize() cula.culaInitialize()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论