提交 ef8e89ff authored 作者: Frederic's avatar Frederic

Fix GpuConv in DebugMode as it called GpuConv.c_code directly.

上级 7dfa866c
......@@ -770,6 +770,11 @@ class GpuConv(GpuOp):
verbose = self.verbose
sub = sub.copy()
max_threads_dim0 = self.max_threads_dim0
if max_threads_dim0 is None:
raise NotImplementedError("GpuConv.c_code should not be called "
"directly. It should be called by "
"make_thunk() that add some information "
"related to the selected GPU.")
sub.update(locals())
return """
//Mandatory args
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论